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:
58fa679
)
[project @ 2003-12-16 16:24:24 by simonpj]
author
simonpj
<unknown>
Tue, 16 Dec 2003 16:24:24 +0000
(16:24 +0000)
committer
simonpj
<unknown>
Tue, 16 Dec 2003 16:24:24 +0000
(16:24 +0000)
Typo in comment
ghc/compiler/rename/RnNames.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/rename/RnNames.lhs
b/ghc/compiler/rename/RnNames.lhs
index
3abf465
..
bdedc33
100644
(file)
--- a/
ghc/compiler/rename/RnNames.lhs
+++ b/
ghc/compiler/rename/RnNames.lhs
@@
-828,7
+828,7
@@
reportUnusedNames gbl_env
-- unused_imp_mods are the directly-imported modules
-- that are not mentioned in minimal_imports1
-- unused_imp_mods are the directly-imported modules
-- that are not mentioned in minimal_imports1
- -- [Note: not 'minimal_imports', because that includes direcly-imported
+ -- [Note: not 'minimal_imports', because that includes directly-imported
-- modules even if we use nothing from them; see notes above]
unused_imp_mods = [m | m <- direct_import_mods,
isNothing (lookupFM minimal_imports1 m),
-- modules even if we use nothing from them; see notes above]
unused_imp_mods = [m | m <- direct_import_mods,
isNothing (lookupFM minimal_imports1 m),