From f5d7b2b1eda550f5bf0965286d449112acbbadde Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Thu, 16 Jan 2014 18:03:41 +0100 Subject: Fixing bugs #1039: Hypotheses don't respect Barendregt convention and #3204: Failure of hygiene condition. It was sufficient to tweak a flag in the constr externalization... --- printing/printer.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/printing/printer.ml b/printing/printer.ml index 496f9b87ee..eba91034b9 100644 --- a/printing/printer.ml +++ b/printing/printer.ml @@ -214,7 +214,7 @@ let pr_var_decl env (id,c,typ) = let pb = pr_lconstr_env env c in let pb = if isCast c then surround pb else pb in (str" := " ++ pb ++ cut () ) in - let pt = pr_ltype_env env typ in + let pt = pr_ltype_core true env typ in let ptyp = (str" : " ++ pt) in (pr_id id ++ hov 0 (pbody ++ ptyp)) @@ -226,7 +226,7 @@ let pr_rel_decl env (na,c,typ) = let pb = pr_lconstr_env env c in let pb = if isCast c then surround pb else pb in (str":=" ++ spc () ++ pb ++ spc ()) in - let ptyp = pr_ltype_env env typ in + let ptyp = pr_ltype_core true env 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) -- cgit v1.2.3