From 7079052932f7443ad3a0bcb6fa0cac048338ba7c Mon Sep 17 00:00:00 2001 From: soubiran Date: Mon, 19 Apr 2010 10:28:41 +0000 Subject: In function "substitution_prefixed_by" the prefix test on module path has been changed to a strict prefix test. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12952 85f007b7-540e-0410-9357-904b9bb8a0f7 --- kernel/mod_subst.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel') diff --git a/kernel/mod_subst.ml b/kernel/mod_subst.ml index b7bf1ba8b7..5cb53d166b 100644 --- a/kernel/mod_subst.ml +++ b/kernel/mod_subst.ml @@ -656,7 +656,7 @@ let substition_prefixed_by k mp subst = let prefixmp key (mp_to,reso) sub = match key with | MPI mpk -> - if mp_in_mp mp mpk then + if mp_in_mp mp mpk && mp <> mpk then let new_key = replace_mp_in_mp mp k mpk in Umap.add (MPI new_key) (mp_to,reso) sub else -- cgit v1.2.3