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:
140a581
)
[project @ 2000-12-18 15:44:46 by sewardj]
author
sewardj
<unknown>
Mon, 18 Dec 2000 15:44:46 +0000
(15:44 +0000)
committer
sewardj
<unknown>
Mon, 18 Dec 2000 15:44:46 +0000
(15:44 +0000)
invert sense of warnSelfImport guard
ghc/compiler/rename/RnHiFiles.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/rename/RnHiFiles.lhs
b/ghc/compiler/rename/RnHiFiles.lhs
index
c50d2dd
..
d7ccd6e
100644
(file)
--- a/
ghc/compiler/rename/RnHiFiles.lhs
+++ b/
ghc/compiler/rename/RnHiFiles.lhs
@@
-152,7
+152,7
@@
tryLoadInterface doc_str mod_name from
-- Check that we aren't importing ourselves.
-- That only happens in Rename.checkOldIface,
-- which doesn't call tryLoadInterface
- warnCheckRn (moduleName this_mod == mod_name)
+ warnCheckRn (moduleName this_mod /= mod_name)
(warnSelfImport this_mod) `thenRn_`
-- READ THE MODULE IN