aboutsummaryrefslogtreecommitdiffhomepage
path: root/proofs
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2016-06-12 14:53:38 +0200
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2016-06-12 16:05:26 +0200
commit827663982e9cdf502f21727677515cf2318aa41d (patch)
tree2af3e1f54ad109183a2b58e7772e87e9f6eace5b /proofs
parent1f772656fa4bb6899ffea84ad5483e9690bbdc08 (diff)
Another fix to #4782 (a typing error not captured when dealing with bindings).
The tentative fix in f9695eb4b (which I was afraid it might be too strong, since it was implying failing more often) indeed broke other things (see #4813).
Diffstat (limited to 'proofs')
-rw-r--r--proofs/clenv.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/proofs/clenv.ml b/proofs/clenv.ml
index 09e77602d..79b331a27 100644
--- a/proofs/clenv.ml
+++ b/proofs/clenv.ml
@@ -459,7 +459,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 (_,_,ActualTypeNotCoercible _) as e ->
+ | PretypeError (_,_,ActualTypeNotCoercible (_,_,
+ (NotClean _ | ConversionFailed _))) as e ->
raise e
| e when precatchable_exception e ->
TypeNotProcessed, clenv, c