aboutsummaryrefslogtreecommitdiffhomepage
path: root/proofs/clenv.ml
diff options
context:
space:
mode:
authorGravatar clrenard <clrenard@85f007b7-540e-0410-9357-904b9bb8a0f7>2003-11-15 15:21:38 +0000
committerGravatar clrenard <clrenard@85f007b7-540e-0410-9357-904b9bb8a0f7>2003-11-15 15:21:38 +0000
commit45870d709209aecf94bb5f6915672ce8043e2f48 (patch)
treeada931a40850b198f0527f2b62d24843723afa34 /proofs/clenv.ml
parent3255dfc39137385650d9bc59f3a904e7c390acb1 (diff)
Amelioration du message d'erreur en cas de tentative d'instanciation
avec de mauvaise variables lors de l'unification. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@4923 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'proofs/clenv.ml')
-rw-r--r--proofs/clenv.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/proofs/clenv.ml b/proofs/clenv.ml
index f59226e89..d5df3bc95 100644
--- a/proofs/clenv.ml
+++ b/proofs/clenv.ml
@@ -574,7 +574,7 @@ and w_resrec metas evars wc =
| App (f,cl) when isConst f ->
let wc' = mimick_evar f (Array.length cl) evn wc in
w_resrec metas evars wc'
- | _ -> error "w_Unify"))
+ | _ -> raise ex (* error "w_Unify" *)))
| _ -> anomaly "w_resrec"