Commit 79afaf6d authored by sewardj's avatar sewardj
Browse files

[project @ 2000-12-18 15:44:46 by sewardj]

invert sense of warnSelfImport guard
parent 140a5810
......@@ -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
......
Markdown is supported
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