aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/declaremods.ml
diff options
context:
space:
mode:
authorGravatar soubiran <soubiran@85f007b7-540e-0410-9357-904b9bb8a0f7>2009-08-27 11:17:31 +0000
committerGravatar soubiran <soubiran@85f007b7-540e-0410-9357-904b9bb8a0f7>2009-08-27 11:17:31 +0000
commit0a29e8bbfe322a627f23a2588ae315612a35691e (patch)
tree7422fb667fc741eb91b31a6027880f76876e33ad /library/declaremods.ml
parent3e55afd7a92e8a58f278d94fe459fda273d2e78d (diff)
Correction bug 2140.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12296 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library/declaremods.ml')
-rw-r--r--library/declaremods.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/declaremods.ml b/library/declaremods.ml
index 581e3fd5b..6275c4b77 100644
--- a/library/declaremods.ml
+++ b/library/declaremods.ml
@@ -844,8 +844,7 @@ let classify_import (export,_ as obj) =
if export then Substitute obj else Dispose
let subst_import (_,subst,(export,mp as obj)) =
- let subst' = remove_alias subst in
- let mp' = subst_mp subst' mp in
+ let mp' = subst_mp subst mp in
if mp'==mp then obj else
(export,mp')