aboutsummaryrefslogtreecommitdiff
path: root/proofs
diff options
context:
space:
mode:
Diffstat (limited to 'proofs')
-rw-r--r--proofs/logic.ml7
-rw-r--r--proofs/refiner.ml1
2 files changed, 4 insertions, 4 deletions
diff --git a/proofs/logic.ml b/proofs/logic.ml
index b06f16682c..e26733a15d 100644
--- a/proofs/logic.ml
+++ b/proofs/logic.ml
@@ -60,10 +60,9 @@ exception RefinerError of refiner_error
let catchable_exception = function
| Util.UserError _ | TypeError _ | RefinerError _
- | Stdpp.Exc_located(_,(Util.UserError _ | TypeError _ | RefinerError _)) ->
- true
- | _ ->
- false
+ | Stdpp.Exc_located(_,(Util.UserError _ | TypeError _ | RefinerError _ |
+ Nametab.GlobalizationError _)) -> true
+ | _ -> false
let error_cannot_unify k (m,n) =
raise (RefinerError (CannotUnify (m,n)))
diff --git a/proofs/refiner.ml b/proofs/refiner.ml
index 8e358adea2..eb7118398e 100644
--- a/proofs/refiner.ml
+++ b/proofs/refiner.ml
@@ -432,6 +432,7 @@ let tclORELSE0 t1 t2 g =
t1 g
with
| e when catchable_exception e -> t2 g
+ | _ -> failwith "ICI!"
| FailError lvl ->
if lvl = 0 then
t2 g