diff options
Diffstat (limited to 'pretyping/clenv.ml')
-rw-r--r-- | pretyping/clenv.ml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pretyping/clenv.ml b/pretyping/clenv.ml index d21c8ad45..9ce46ab8a 100644 --- a/pretyping/clenv.ml +++ b/pretyping/clenv.ml @@ -404,8 +404,10 @@ let clenv_unify_binding_type clenv c t u = try let evd,c = w_coerce_to_type (cl_env clenv) clenv.evd c t u in TypeProcessed, { clenv with evd = evd }, c - with e when precatchable_exception e -> - TypeNotProcessed, clenv, c + with + | PretypeError (_,NotClean _) as e -> raise e + | e when precatchable_exception e -> + TypeNotProcessed, clenv, c let clenv_assign_binding clenv k (sigma,c) = let k_typ = clenv_hnf_constr clenv (clenv_meta_type clenv k) in |