diff options
Diffstat (limited to 'library')
| -rw-r--r-- | library/declaremods.ml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/declaremods.ml b/library/declaremods.ml index 80944b2e6e..7c228741b4 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') |
