File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ let check_ctx_map ?(unsafe = false) env evars map =
223223 errorlabstrm
224224 (str" Type error while building context map: " ++ pr_context_map env evars map ++
225225 spc () ++ str" Invalid_argument: " ++ str s)
226- | e when is_anomaly e ->
226+ | e when is_anomaly ~async: false e ->
227227 errorlabstrm
228228 (str" Type error while building context map: " ++ pr_context_map env evars map ++
229229 spc () ++ str" Anomaly: " ++ CErrors. print e)
Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ let collapse_term_qualities uctx c =
224224 | Relevant | Irrelevant as r -> r
225225 | RelevanceVar _ -> (* hack *) Relevant
226226 with e ->
227- if CErrors. is_anomaly e then Relevant
227+ if CErrors. is_anomaly ~async: false e then Relevant
228228 else raise e
229229 in
230230 let nf_qvar q = match UState. nf_qvar uctx q with
Original file line number Diff line number Diff line change @@ -375,7 +375,7 @@ val pp : Pp.t -> unit
375375val user_err_loc : (Loc .t option * Pp .t ) -> 'a
376376val error : string -> 'a
377377val errorlabstrm : Pp .t -> 'a
378- val is_anomaly : exn -> bool
378+ val is_anomaly : async : bool -> exn -> bool
379379val print_error : exn -> Pp .t
380380val anomaly : ?label : string -> Pp .t -> 'a
381381
You can’t perform that action at this time.
0 commit comments