aboutsummaryrefslogtreecommitdiff
path: root/proofs/evar_refiner.ml
diff options
context:
space:
mode:
authorclrenard2003-11-15 15:21:38 +0000
committerclrenard2003-11-15 15:21:38 +0000
commit45870d709209aecf94bb5f6915672ce8043e2f48 (patch)
treeada931a40850b198f0527f2b62d24843723afa34 /proofs/evar_refiner.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/evar_refiner.ml')
-rw-r--r--proofs/evar_refiner.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/proofs/evar_refiner.ml b/proofs/evar_refiner.ml
index efbf675b7b..7ce48f2bb6 100644
--- a/proofs/evar_refiner.ml
+++ b/proofs/evar_refiner.ml
@@ -106,7 +106,7 @@ let w_Define sp c wc =
let cty =
try
w_type_of (w_Focus sp wc) (mkCast (c,spdecl.evar_concl))
- with Not_found ->
+ with Not_found | (Type_errors.TypeError (_, Type_errors.UnboundVar _))->
error "Instantiation contains unlegal variables"
in
match spdecl.evar_body with