From 273be06fa7cb1297284dbb553ecc9be7d07df6af Mon Sep 17 00:00:00 2001 From: Duncan Coutts Date: Tue, 4 Jul 2006 16:34:13 +0000 Subject: [PATCH] Fix for warning message (bug #812) say "{-# SOURCE #-}" rather than "{- SOURCE -}" in warning message. Fixes http://hackage.haskell.org/trac/ghc/ticket/812 --- compiler/rename/RnNames.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- 1.7.10.4