aboutsummaryrefslogtreecommitdiffhomepage
path: root/printing/printmod.ml
diff options
context:
space:
mode:
Diffstat (limited to 'printing/printmod.ml')
-rw-r--r--printing/printmod.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/printing/printmod.ml b/printing/printmod.ml
index ffee2e244..488ac7177 100644
--- a/printing/printmod.ml
+++ b/printing/printmod.ml
@@ -146,13 +146,13 @@ let print_body is_impl env mp (l,body) =
| None -> mt ()
| Some env ->
str " :" ++ spc () ++
- hov 0 (Printer.pr_ltype_env env
+ hov 0 (Printer.pr_ltype_env env Evd.empty (* No evars in modules *)
(Typeops.type_of_constant_type env cb.const_type)) ++
(match cb.const_body with
| Def l when is_impl ->
spc () ++
hov 2 (str ":= " ++
- Printer.pr_lconstr_env env (Mod_subst.force_constr l))
+ Printer.pr_lconstr_env env Evd.empty (Mod_subst.force_constr l))
| _ -> mt ()) ++ str "." ++
Printer.pr_universe_ctx cb.const_universes)
| SFBmind mib ->