From 1147afc67e0d333e6d1f5b46815dd4ba98328127 Mon Sep 17 00:00:00 2001 From: puech Date: Fri, 29 Jul 2011 14:24:32 +0000 Subject: Tacred: generic equality on constr replaced by eq_constr git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14317 85f007b7-540e-0410-9357-904b9bb8a0f7 --- pretyping/tacred.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pretyping') diff --git a/pretyping/tacred.ml b/pretyping/tacred.ml index de87e5029..715fc2360 100644 --- a/pretyping/tacred.ml +++ b/pretyping/tacred.ml @@ -767,7 +767,7 @@ let substlin env evalref n (nowhere_except_in,locs) c = let term = constr_of_evaluable_ref evalref in let rec substrec () c = if nowhere_except_in & !pos > maxocc then c - else if c = term then + else if eq_constr c term then let ok = if nowhere_except_in then List.mem !pos locs else not (List.mem !pos locs) in -- cgit v1.2.3