From: simonpj Date: Tue, 9 Nov 2004 13:27:05 +0000 (+0000) Subject: [project @ 2004-11-09 13:27:05 by simonpj] X-Git-Tag: Initial_conversion_from_CVS_complete~1469 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=4c8619081f01bd2b8186f9af716fb3ac269525fc;hp=f1bc2f1b8f45a2397c1a5dfd32de0811227d5c93 [project @ 2004-11-09 13:27:05 by simonpj] Refine warning slightly --- diff --git a/ghc/compiler/rename/RnTypes.lhs b/ghc/compiler/rename/RnTypes.lhs index c9b232f..0547824 100644 --- a/ghc/compiler/rename/RnTypes.lhs +++ b/ghc/compiler/rename/RnTypes.lhs @@ -557,7 +557,8 @@ sectionPrecErr op arg_op section nest 4 (ptext SLIT("in the section:") <+> quotes (ppr section))] infixTyConWarn op - = ftext FSLIT("Accepting non-standard infix type constructor") <+> quotes (ppr op) + = vcat [ftext FSLIT("Accepting non-standard infix type constructor") <+> quotes (ppr op), + ftext FSLIT("Use -fglasgow-exts to avoid this warning")) patSigErr ty = (ptext SLIT("Illegal signature in pattern:") <+> ppr ty)