aboutsummaryrefslogtreecommitdiffhomepage
path: root/printing
diff options
context:
space:
mode:
Diffstat (limited to 'printing')
-rw-r--r--printing/printer.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/printing/printer.ml b/printing/printer.ml
index b12aea5db..ccb22f4a8 100644
--- a/printing/printer.ml
+++ b/printing/printer.ml
@@ -256,7 +256,7 @@ let pr_var_decl_skel pr_id env sigma (id,c,typ) =
let pb = pr_lconstr_core true env sigma c in
let pb = if isCast c then surround pb else pb in
(str" := " ++ pb ++ cut () ) in
- let pt = pr_ltype_core true env sigma typ in
+ let pt = pr_ltype_env env sigma typ in
let ptyp = (str" : " ++ pt) in
(pr_id id ++ hov 0 (pbody ++ ptyp))
@@ -274,7 +274,7 @@ let pr_rel_decl env sigma (na,c,typ) =
let pb = pr_lconstr_core true env sigma c in
let pb = if isCast c then surround pb else pb in
(str":=" ++ spc () ++ pb ++ spc ()) in
- let ptyp = pr_ltype_core true env sigma typ in
+ let ptyp = pr_ltype_env env sigma typ in
match na with
| Anonymous -> hov 0 (str"<>" ++ spc () ++ pbody ++ str":" ++ spc () ++ ptyp)
| Name id -> hov 0 (pr_id id ++ spc () ++ pbody ++ str":" ++ spc () ++ ptyp)