projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c9c366
)
Fix for warning message (bug #812)
author
Duncan Coutts
<duncan.coutts@worc.ox.ac.uk>
Tue, 4 Jul 2006 16:34:13 +0000
(16:34 +0000)
committer
Duncan Coutts
<duncan.coutts@worc.ox.ac.uk>
Tue, 4 Jul 2006 16:34:13 +0000
(16:34 +0000)
say "{-# SOURCE #-}" rather than "{- SOURCE -}" in warning message.
Fixes http://hackage.haskell.org/trac/ghc/ticket/812
compiler/rename/RnNames.lhs
patch
|
blob
|
history
diff --git
a/compiler/rename/RnNames.lhs
b/compiler/rename/RnNames.lhs
index
654c101
..
658028c
100644
(file)
--- 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}