aboutsummaryrefslogtreecommitdiff
path: root/library/lib.ml
diff options
context:
space:
mode:
Diffstat (limited to 'library/lib.ml')
-rw-r--r--library/lib.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/lib.ml b/library/lib.ml
index 5ce7cf595d..c686e2ccf0 100644
--- a/library/lib.ml
+++ b/library/lib.ml
@@ -346,7 +346,7 @@ let end_compilation dir =
!path_prefix,after
(* Returns true if we are inside an opened module type *)
-let is_specification () =
+let is_modtype () =
let opened_p = function
| _, OpenedModtype _ -> true
| _ -> false