Commit 273be06f authored by duncan.coutts@worc.ox.ac.uk's avatar duncan.coutts@worc.ox.ac.uk
Browse files

Fix for warning message (bug #812)

say "{-# SOURCE #-}" rather than "{- SOURCE -}" in warning message.
Fixes http://hackage.haskell.org/trac/ghc/ticket/812
parent 5c9c3660
...@@ -325,7 +325,7 @@ importsFromImportDecl this_mod ...@@ -325,7 +325,7 @@ importsFromImportDecl this_mod
returnM (gbl_env, imports) returnM (gbl_env, imports)
warnRedundantSourceImport mod_name 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) <+> quotes (ppr mod_name)
\end{code} \end{code}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment