diff options
| author | herbelin | 2013-02-17 14:56:04 +0000 |
|---|---|---|
| committer | herbelin | 2013-02-17 14:56:04 +0000 |
| commit | 8ac929ea128f1f7353b3f4d532b642e769542e55 (patch) | |
| tree | b77b28d76ae301b4af81e18309bff869625c6f99 /proofs/clenv.ml | |
| parent | 97fc36f552bfd9731ac47716faf2b02d4555eb07 (diff) | |
Added propagation of evars unification failure reasons for better
error messages. The architecture of unification error handling
changed, not helped by ocaml for checking that every exceptions is
correctly caught. Report or fix if you find a regression.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16205 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'proofs/clenv.ml')
| -rw-r--r-- | proofs/clenv.ml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/proofs/clenv.ml b/proofs/clenv.ml index 158f8e94f2..6177040cc3 100644 --- a/proofs/clenv.ml +++ b/proofs/clenv.ml @@ -434,7 +434,8 @@ let clenv_unify_binding_type clenv c t u = let evd,c = w_coerce_to_type (cl_env clenv) clenv.evd c t u in TypeProcessed, { clenv with evd = evd }, c with - | PretypeError (_,_,NotClean _) as e -> raise e + | PretypeError (_,_,ActualTypeNotCoercible (_,_,NotClean _)) as e -> + raise e | e when precatchable_exception e -> TypeNotProcessed, clenv, c |
