From: Duncan Coutts Date: Tue, 4 Jul 2006 16:34:13 +0000 (+0000) Subject: Fix for warning message (bug #812) X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=273be06fa7cb1297284dbb553ecc9be7d07df6af Fix for warning message (bug #812) say "{-# SOURCE #-}" rather than "{- SOURCE -}" in warning message. Fixes http://hackage.haskell.org/trac/ghc/ticket/812 --- diff --git a/compiler/rename/RnNames.lhs b/compiler/rename/RnNames.lhs index 654c101..658028c 100644 --- a/compiler/rename/RnNames.lhs +++ b/compiler/rename/RnNames.lhs @@ -325,7 +325,7 @@ importsFromImportDecl this_mod returnM (gbl_env, imports) warnRedundantSourceImport mod_name - = ptext SLIT("Unnecessary {- SOURCE -} in the import of module") + = ptext SLIT("Unnecessary {-# SOURCE #-} in the import of module") <+> quotes (ppr mod_name) \end{code}