Having unbalanced parantheses inside cpp macros
is also Bad, Bad, Bad.
invisibleDataConPrimCCallErr clas inst_ty sty
= hang (hsep [(ppr sty inst_ty <> ptext SLIT("s constructors not visible when checking")),
ppr sty clas, ptext SLIT("instance")])
invisibleDataConPrimCCallErr clas inst_ty sty
= hang (hsep [(ppr sty inst_ty <> ptext SLIT("s constructors not visible when checking")),
ppr sty clas, ptext SLIT("instance")])
- 4 (hsep [ptext SLIT("(Try either importing"), ppr sty inst_ty,
- ptext SLIT("non-abstractly or compile using -fno-prune-tydecls ..)")])
+ 4 (hsep [text "(Try either importing", ppr sty inst_ty,
+ text "non-abstractly or compile using -fno-prune-tydecls ..)"])
omittedMethodWarn sel_id clas sty
= sep [ptext SLIT("Warning: no explicit method nor default method for") <+> ppr sty sel_id,
omittedMethodWarn sel_id clas sty
= sep [ptext SLIT("Warning: no explicit method nor default method for") <+> ppr sty sel_id,