diff options
| author | herbelin | 2007-05-29 10:01:06 +0000 |
|---|---|---|
| committer | herbelin | 2007-05-29 10:01:06 +0000 |
| commit | 28a551e49864bbfee8a9212fdbcc364d1132b19e (patch) | |
| tree | af54777193da1f6e12e60e295006c13cf5247f34 /pretyping/unification.ml | |
| parent | 7b00173a3e2cb44162e6d90e9306b20621ad046b (diff) | |
Correction d'un bug dans l'affichage du message d'erreur real_clean
(cas d'un terme sans Rel libre), introduction au passage d'un nouveau
type d'evar EvarGoal pour raffinement du message d'erreur.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@9868 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'pretyping/unification.ml')
| -rw-r--r-- | pretyping/unification.ml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pretyping/unification.ml b/pretyping/unification.ml index 4116445e16..4624456a8f 100644 --- a/pretyping/unification.ml +++ b/pretyping/unification.ml @@ -312,7 +312,8 @@ let applyHead env evd n c = else match kind_of_term (whd_betadeltaiota env (evars_of evd) cty) with | Prod (_,c1,c2) -> - let (evd',evar) = Evarutil.new_evar evd env c1 in + let (evd',evar) = + Evarutil.new_evar evd env ~src:(dummy_loc,GoalEvar) c1 in apprec (n-1) (mkApp(c,[|evar|])) (subst1 evar c2) evd' | _ -> error "Apply_Head_Then" in |
