Skip to content

Commit 125c790

Browse files
authored
Merge pull request #1053 from SkySkimmer/stop-anomalies
Adapt to rocq-prover/rocq#21254 (stop catching async exns)
2 parents e281101 + c01948b commit 125c790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coq/protect.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ let eval_exn ~token ~f x =
7373
in
7474
let payload = Message.Payload.make ?range ?quickFix msg in
7575
Vernacstate.Interp.invalidate_cache ();
76-
if CErrors.is_anomaly e then R.Completed (Error (Anomaly payload))
76+
if CErrors.is_async e || CErrors.is_sync_anomaly e then R.Completed (Error (Anomaly payload))
7777
else R.Completed (Error (User payload))
7878

7979
let _bind_exn ~f x =

0 commit comments

Comments
 (0)