aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--interp/dumpglob.ml1
1 files changed, 0 insertions, 1 deletions
diff --git a/interp/dumpglob.ml b/interp/dumpglob.ml
index 87c8cb04d9..a9b8ccb426 100644
--- a/interp/dumpglob.ml
+++ b/interp/dumpglob.ml
@@ -153,7 +153,6 @@ let dump_reference loc modpath ident ty =
let dump_modref loc mp ty =
let (dp, l) = Lib.split_modpath mp in
let filepath = Names.DirPath.to_string dp in
- let l = if List.is_empty l then l else List.drop_last l in
let modpath = Names.DirPath.to_string (Names.DirPath.make l) in
let ident = "<>" in
dump_ref loc filepath modpath ident ty