aboutsummaryrefslogtreecommitdiff
path: root/kernel/modops.ml
diff options
context:
space:
mode:
authorMaxime Dénès2017-11-13 11:22:41 +0100
committerMaxime Dénès2017-11-13 11:22:41 +0100
commitb75f803afb3189a9f3b594a190fdb8d6207e7624 (patch)
tree28b33d0d1ffa2fbe42d044235987f34b0c733fbb /kernel/modops.ml
parenta7df689e73dd396dafdbb4891d534b7fa5cb0fc8 (diff)
parentf3abbc55ef160d1a65d4467bfe9b25b30b965a46 (diff)
Merge PR #6065: [api] Deprecate all legacy uses of Names in core.
Diffstat (limited to 'kernel/modops.ml')
-rw-r--r--kernel/modops.ml8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/modops.ml b/kernel/modops.ml
index 76915e917a..c10af0725b 100644
--- a/kernel/modops.ml
+++ b/kernel/modops.ml
@@ -59,7 +59,7 @@ type module_typing_error =
| NotAFunctor
| IsAFunctor
| IncompatibleModuleTypes of module_type_body * module_type_body
- | NotEqualModulePaths of module_path * module_path
+ | NotEqualModulePaths of ModPath.t * ModPath.t
| NoSuchLabel of Label.t
| IncompatibleLabels of Label.t * Label.t
| NotAModule of string
@@ -68,7 +68,7 @@ type module_typing_error =
| IncorrectWithConstraint of Label.t
| GenerativeModuleExpected of Label.t
| LabelMissing of Label.t * string
- | IncludeRestrictedFunctor of module_path
+ | IncludeRestrictedFunctor of ModPath.t
exception ModuleTypingError of module_typing_error
@@ -403,8 +403,8 @@ let inline_delta_resolver env inl mp mbid mtb delta =
let constr = Mod_subst.force_constr body in
add_inline_delta_resolver kn (lev, Some constr) l
with Not_found ->
- error_no_such_label_sub (con_label con)
- (string_of_mp (con_modpath con))
+ error_no_such_label_sub (Constant.label con)
+ (ModPath.to_string (Constant.modpath con))
in
make_inline delta constants