From: sof Date: Fri, 19 Dec 1997 10:43:56 +0000 (+0000) Subject: [project @ 1997-12-19 10:43:56 by sof] X-Git-Tag: Approx_2487_patches~1146 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=34cbc4b382c90736c181dad18246902b8020be7c;p=ghc-hetmet.git [project @ 1997-12-19 10:43:56 by sof] Having unbalanced parantheses inside cpp macros is also Bad, Bad, Bad. --- diff --git a/ghc/compiler/typecheck/TcInstDcls.lhs b/ghc/compiler/typecheck/TcInstDcls.lhs index f474005..9879fd3 100644 --- a/ghc/compiler/typecheck/TcInstDcls.lhs +++ b/ghc/compiler/typecheck/TcInstDcls.lhs @@ -781,8 +781,8 @@ nonBoxedPrimCCallErr clas inst_ty sty 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,