diff options
Diffstat (limited to 'kernel/modops.ml')
| -rw-r--r-- | kernel/modops.ml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/modops.ml b/kernel/modops.ml index 590db27274..49e49f5731 100644 --- a/kernel/modops.ml +++ b/kernel/modops.ml @@ -329,8 +329,9 @@ and merge_with env mtb with_decl alias= match with_decl with With_definition_body (_,c) -> With_definition_body (idl,c),None | With_module_body (idc,mp,cst) -> + let mp' = scrape_alias mp env in With_module_body (idl,mp,cst), - Some(map_mp (mp_rec (List.rev idc)) mp) + Some(map_mp (mp_rec (List.rev idc)) mp') in let subst = match subst1 with | None -> None |
