diff options
| author | msozeau | 2011-03-11 17:00:35 +0000 |
|---|---|---|
| committer | msozeau | 2011-03-11 17:00:35 +0000 |
| commit | 7a97fcc78a73ab36d0cb1526397b4d2d7299ed34 (patch) | |
| tree | eadfc5720feb5b443e771b81adbfc2645d411ac4 /pretyping/pretyping.ml | |
| parent | 36b8aa6b0a6302e1675df623bf28e86029bb40f5 (diff) | |
- Better error messages taking unif. constraints into account.
- Normalize evars in typeclasses eauto also before [intro].
- Disallow use of nf_evars variants that drop unif. constraints.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13904 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'pretyping/pretyping.ml')
| -rw-r--r-- | pretyping/pretyping.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pretyping/pretyping.ml b/pretyping/pretyping.ml index 1ea2dbd002..e3b8dbc204 100644 --- a/pretyping/pretyping.ml +++ b/pretyping/pretyping.ml @@ -717,7 +717,7 @@ module Pretyping_F (Coercion : Coercion.S) = struct let understand_judgment sigma env c = let evdref = ref (create_evar_defs sigma) in let j = pretype empty_tycon env evdref ([],[]) c in - let evd = Typeclasses.resolve_typeclasses ~onlyargs:true ~split:false + let evd = Typeclasses.resolve_typeclasses ~onlyargs:true ~split:true ~fail:true env !evdref in let evd = consider_remaining_unif_problems env evd in |
