X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FhsSyn%2FHsPat.lhs;h=af921de689221cfa825a35f55b3946a744ca204f;hb=65277a1c9ff86c28c656849d6f6cbb392f1eb3e7;hp=c8867661d526d2546d912eeb348c2552a269d761;hpb=f7df28a48a9d2901d9e27e0e9970b3f692bc9b3f;p=ghc-hetmet.git diff --git a/compiler/hsSyn/HsPat.lhs b/compiler/hsSyn/HsPat.lhs index c886766..af921de 100644 --- a/compiler/hsSyn/HsPat.lhs +++ b/compiler/hsSyn/HsPat.lhs @@ -310,7 +310,7 @@ instance (OutputableBndr id, Outputable arg) => Outputable (HsRecField id arg) where ppr (HsRecField { hsRecFieldId = f, hsRecFieldArg = arg, hsRecPun = pun }) - = ppr f <+> (if pun then empty else equals <+> ppr arg) + = ppr f <+> (ppUnless pun $ equals <+> ppr arg) -- add parallel array brackets around a document --