[commit: ghc] master: Parenthesise type operators in -ddump-minimal-imports output; trac #4239 (5a369e7)
Ian Lynagh
igloo at earth.li
Sun Sep 18 00:26:24 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/5a369e7b9d99fb585aac1e994f7d180e2bc408ca
>---------------------------------------------------------------
commit 5a369e7b9d99fb585aac1e994f7d180e2bc408ca
Author: Ian Lynagh <igloo at earth.li>
Date: Sat Sep 17 22:32:11 2011 +0100
Parenthesise type operators in -ddump-minimal-imports output; trac #4239
>---------------------------------------------------------------
compiler/hsSyn/HsImpExp.lhs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/compiler/hsSyn/HsImpExp.lhs b/compiler/hsSyn/HsImpExp.lhs
index 266b6fd..01890b6 100644
--- a/compiler/hsSyn/HsImpExp.lhs
+++ b/compiler/hsSyn/HsImpExp.lhs
@@ -139,7 +139,7 @@ instance (Outputable name) => Outputable (IE name) where
ppr (IEThingAbs thing) = ppr thing
ppr (IEThingAll thing) = hcat [ppr thing, text "(..)"]
ppr (IEThingWith thing withs)
- = ppr thing <> parens (fsep (punctuate comma (map pprHsVar withs)))
+ = pprHsVar thing <> parens (fsep (punctuate comma (map pprHsVar withs)))
ppr (IEModuleContents mod')
= ptext (sLit "module") <+> ppr mod'
ppr (IEGroup n _) = text ("<IEGroup: " ++ (show n) ++ ">")
More information about the Cvs-ghc
mailing list