Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/ecHiGoal.ml
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,13 @@ let process_exacttype qs (tc : tcenv1) =
let tys =
List.map (fun (a,_) -> EcTypes.tvar a)
(EcEnv.LDecl.tohyps hyps).h_tvar in
EcLowGoal.t_apply_s p tys ~args:[] ~sk:0 tc
let pt = ptglobal ~tys p in

try
EcLowGoal.t_apply pt tc
with InvalidGoalShape ->
let ppe = EcPrinting.PPEnv.ofenv env in
tc_error !!tc "cannot apply %a@." (EcPrinting.pp_axname ppe) p

(* -------------------------------------------------------------------- *)
let process_apply_fwd ~implicits (pe, hyp) tc =
Expand Down