aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tactics/equality.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/equality.ml b/tactics/equality.ml
index 0ae6ecb7f4..9228013be5 100644
--- a/tactics/equality.ml
+++ b/tactics/equality.ml
@@ -774,7 +774,7 @@ let sig_clausale_forme env sigma sort_of_ty siglen ty (dFLT,dFLTty) =
[]
else
matches (pattern_of_constr headpat) ty
- with e when catchable_exception e -> failwith "caught")
+ with PatternMatchingFailure -> failwith "caught")
[dFLTty; nf_ty]
in
(bindings,dFLT)