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:
4228447
)
[project @ 2000-05-23 15:59:25 by simonmar]
author
simonmar
<unknown>
Tue, 23 May 2000 15:59:25 +0000
(15:59 +0000)
committer
simonmar
<unknown>
Tue, 23 May 2000 15:59:25 +0000
(15:59 +0000)
Don't use commas in an SLIT("..")
ghc/compiler/rename/RnEnv.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/rename/RnEnv.lhs
b/ghc/compiler/rename/RnEnv.lhs
index
8c81f2e
..
a87d73c
100644
(file)
--- a/
ghc/compiler/rename/RnEnv.lhs
+++ b/
ghc/compiler/rename/RnEnv.lhs
@@
-727,7
+727,7
@@
warnUnusedModules mods
| otherwise = mapRn_ (addWarnRn . unused_mod) mods
where
unused_mod m = ptext SLIT("Module") <+> quotes (pprModuleName m) <+>
- ptext SLIT("is imported, but nothing from it is used")
+ text "is imported, but nothing from it is used"
warnUnusedLocalBinds, warnUnusedImports, warnUnusedMatches :: [Name] -> RnM d ()
warnUnusedImports names