diff options
author | 2010-03-07 18:49:23 +0000 | |
---|---|---|
committer | 2010-03-07 18:49:23 +0000 | |
commit | c14f134c00cef3dbca8c4a66f9847094f3fd119c (patch) | |
tree | 8d30a07075934e758e21115d6b5b941e8c716bda /toplevel/record.ml | |
parent | ba360bdefa2d7e4200c94a37c5065019718c2691 (diff) |
Fix treatment of remaining unification constraints: raise a more
informative exception if some constraints do not unify.
All calls except one used to raise a less informative exception when the
constraints weren't solved.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12849 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'toplevel/record.ml')
-rw-r--r-- | toplevel/record.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toplevel/record.ml b/toplevel/record.ml index 0353261b9..c1c1a9671 100644 --- a/toplevel/record.ml +++ b/toplevel/record.ml @@ -68,7 +68,7 @@ let typecheck_params_and_fields id t ps nots fs = let env2,impls,newfs,data = interp_fields_evars evars env_ar nots (binders_of_decls fs) in - let evars,_ = Evarconv.consider_remaining_unif_problems env_ar !evars in + let evars = Evarconv.consider_remaining_unif_problems env_ar !evars in let evars = Typeclasses.resolve_typeclasses env_ar evars in let sigma = evars in let newps = Evarutil.nf_rel_context_evar sigma newps in |