aboutsummaryrefslogtreecommitdiffhomepage
path: root/kernel/mod_typing.ml
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/mod_typing.ml')
-rw-r--r--kernel/mod_typing.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/mod_typing.ml b/kernel/mod_typing.ml
index 0d29cf10b..b566dd8af 100644
--- a/kernel/mod_typing.ml
+++ b/kernel/mod_typing.ml
@@ -229,7 +229,7 @@ and check_with_mod env sign (idl,mp1) mp equiv =
and translate_module env mp inl me =
match me.mod_entry_expr, me.mod_entry_type with
| None, None ->
- anomaly "Mod_typing.translate_module: empty type and expr in module entry"
+ anomaly ~label:"Mod_typing.translate_module" (Pp.str "empty type and expr in module entry")
| None, Some mte ->
let mtb = translate_module_type env mp inl mte in
{ mod_mp = mp;