diff options
author | Hugo Herbelin <Hugo.Herbelin@inria.fr> | 2016-06-11 07:36:46 +0200 |
---|---|---|
committer | Hugo Herbelin <Hugo.Herbelin@inria.fr> | 2016-06-11 08:32:48 +0200 |
commit | f9695eb4bc5b377a02f49ee485d7fe9be122c183 (patch) | |
tree | bd0da1b509c93913a7c3ca6e8e3ef1857468d846 /proofs/clenv.ml | |
parent | d095d43f09162f3365392f91ebdd48fcf83d9147 (diff) |
Fixing #4782 (a typing error not captured when dealing with bindings).
Trying to now catch all unification errors, but without a clear view
at whether some errors could be tolerated at the point of checking the
type of the binding.
Diffstat (limited to 'proofs/clenv.ml')
-rw-r--r-- | proofs/clenv.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proofs/clenv.ml b/proofs/clenv.ml index 88e1bce95..09e77602d 100644 --- a/proofs/clenv.ml +++ b/proofs/clenv.ml @@ -459,7 +459,7 @@ 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 (_,_,ActualTypeNotCoercible (_,_,NotClean _)) as e -> + | PretypeError (_,_,ActualTypeNotCoercible _) as e -> raise e | e when precatchable_exception e -> TypeNotProcessed, clenv, c |