[project @ 1997-12-19 10:43:56 by sof]
authorsof <unknown>
Fri, 19 Dec 1997 10:43:56 +0000 (10:43 +0000)
committersof <unknown>
Fri, 19 Dec 1997 10:43:56 +0000 (10:43 +0000)
Having unbalanced parantheses inside cpp macros
is also Bad, Bad, Bad.

ghc/compiler/typecheck/TcInstDcls.lhs

index f474005..9879fd3 100644 (file)
@@ -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,