aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorherbelin2000-11-21 16:51:32 +0000
committerherbelin2000-11-21 16:51:32 +0000
commitc332c8fe84f7a2f1abbde26a95a369934ed82487 (patch)
tree8be04ed36ad5ba5a825b06b50ce897208b8af41e
parent05b6e6ae8247b047b96f50dfcde59d619500d50d (diff)
PatternMatchingFailure n'etait pas rattrapee
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@904 85f007b7-540e-0410-9357-904b9bb8a0f7
-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)