aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/declaremods.ml
diff options
context:
space:
mode:
authorGravatar soubiran <soubiran@85f007b7-540e-0410-9357-904b9bb8a0f7>2008-03-26 13:22:04 +0000
committerGravatar soubiran <soubiran@85f007b7-540e-0410-9357-904b9bb8a0f7>2008-03-26 13:22:04 +0000
commit920926c8bded37b057ba0c59f0144a085a1bb35e (patch)
treec9b4f56c28aeef27217167c610a2d57f5392d3f6 /library/declaremods.ml
parent0e6f439bac7c9dc5598d311c14db8e7049f66e0c (diff)
Correction d'un bug sur Import/Export : ces fonctionnalites sont gerees en-dehors du noyau et
sont donc independantes des substitutions engendrees par les alias de module. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10720 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library/declaremods.ml')
-rw-r--r--library/declaremods.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/declaremods.ml b/library/declaremods.ml
index 80944b2e6..7c228741b 100644
--- a/library/declaremods.ml
+++ b/library/declaremods.ml
@@ -770,6 +770,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
if mp'==mp then obj else
(export,mp')