aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/declaremods.ml
diff options
context:
space:
mode:
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')