[commit: ghc] master: Use prefix notation in pprIfaceDecl for IfaceIds (5908a74)
git at git.haskell.org
git at git.haskell.org
Fri Mar 14 14:26:15 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/5908a7427abd35264f5bafd5bf7bce3a0c9dde8e/ghc
>---------------------------------------------------------------
commit 5908a7427abd35264f5bafd5bf7bce3a0c9dde8e
Author: Dr. ERDI Gergo <gergo at erdi.hu>
Date: Fri Mar 14 21:35:30 2014 +0800
Use prefix notation in pprIfaceDecl for IfaceIds
>---------------------------------------------------------------
5908a7427abd35264f5bafd5bf7bce3a0c9dde8e
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