[commit: ghc] wip/T8776: Use prefix notation in pprIfaceDecl for IfaceIds (7cc79fc)
git at git.haskell.org
git at git.haskell.org
Fri Mar 14 13:35:56 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/T8776
Link : http://ghc.haskell.org/trac/ghc/changeset/7cc79fc34bd49a339e5eb4392e5c7a2a9e21b7d4/ghc
>---------------------------------------------------------------
commit 7cc79fc34bd49a339e5eb4392e5c7a2a9e21b7d4
Author: Dr. ERDI Gergo <gergo at erdi.hu>
Date: Fri Mar 14 21:35:30 2014 +0800
Use prefix notation in pprIfaceDecl for IfaceIds
>---------------------------------------------------------------
7cc79fc34bd49a339e5eb4392e5c7a2a9e21b7d4
compiler/iface/IfaceSyn.lhs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler/iface/IfaceSyn.lhs b/compiler/iface/IfaceSyn.lhs
index 7484b37..1283b09 100644
--- a/compiler/iface/IfaceSyn.lhs
+++ b/compiler/iface/IfaceSyn.lhs
@@ -1047,7 +1047,7 @@ instance Outputable IfaceDecl where
pprIfaceDecl :: IfaceDecl -> SDoc
pprIfaceDecl (IfaceId {ifName = var, ifType = ty,
ifIdDetails = details, ifIdInfo = info})
- = sep [ ppr var <+> dcolon <+> ppr ty,
+ = sep [ pprPrefixOcc var <+> dcolon <+> ppr ty,
nest 2 (ppr details),
nest 2 (ppr info) ]
More information about the ghc-commits
mailing list