aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/declaremods.ml
diff options
context:
space:
mode:
Diffstat (limited to 'library/declaremods.ml')
-rw-r--r--library/declaremods.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/declaremods.ml b/library/declaremods.ml
index 10b04c588..763aa5ffd 100644
--- a/library/declaremods.ml
+++ b/library/declaremods.ml
@@ -440,7 +440,7 @@ let rec replace_module_object idl (mbids,mp,lib_stack) (mbids2,mp2,objs) mp1 =
if not (String.equal (object_tag obj) "MODULE") then anomaly "MODULE expected!";
let substobjs = match idl with
| [] ->
- let mp' = MPdot(mp, label_of_id id) in
+ let mp' = MPdot(mp, Label.of_id id) in
mbids, mp', subst_objects (map_mp mp1 mp' empty_delta_resolver) objs
| _ ->
replace_module_object idl (out_module obj) (mbids2,mp2,objs) mp