aboutsummaryrefslogtreecommitdiff
path: root/library/lib.ml
diff options
context:
space:
mode:
authorMaxime Dénès2017-11-23 17:36:03 +0100
committerMaxime Dénès2017-11-23 17:36:03 +0100
commit915554785ffed11370f5d700d11a8b5614408096 (patch)
tree4b5b4120c896cf99c863fab4fd5e1ec22af20d53 /library/lib.ml
parentebe133a0df0656de82a566c4f1673257f60f7c0c (diff)
parent9f47342d890dc3ef7f4950004513a47d940af5ca (diff)
Merge PR #6186: [api] Miscellaneous consolidation.
Diffstat (limited to 'library/lib.ml')
-rw-r--r--library/lib.ml5
1 files changed, 2 insertions, 3 deletions
diff --git a/library/lib.ml b/library/lib.ml
index 36292d367e..3dbb16c7b0 100644
--- a/library/lib.ml
+++ b/library/lib.ml
@@ -12,7 +12,6 @@ open Util
open Names
open Libnames
open Globnames
-open Nameops
open Libobject
open Context.Named.Declaration
@@ -361,8 +360,8 @@ let end_compilation_checks dir =
| None -> anomaly (Pp.str "There should be a module name...")
| Some m ->
if not (Names.DirPath.equal m dir) then anomaly
- (str "The current open module has name" ++ spc () ++ pr_dirpath m ++
- spc () ++ str "and not" ++ spc () ++ pr_dirpath m ++ str ".");
+ (str "The current open module has name" ++ spc () ++ DirPath.print m ++
+ spc () ++ str "and not" ++ spc () ++ DirPath.print m ++ str ".");
in
oname