diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2015-10-28 17:16:55 +0000 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2015-10-30 09:45:47 +0000 |
commit | 9376249b6b78610db055a10d05f6592d6bbbea2f (patch) | |
tree | 67526c534565bcf9e20fd0872fc87a8be2e74f8a /testsuite/tests/module/mod49.stderr | |
parent | 9b3a0588e7523db54443270005ba2c6016e56ab8 (diff) | |
download | haskell-9376249b6b78610db055a10d05f6592d6bbbea2f.tar.gz |
Fix unused-import stuff in a better way
The fix for Trac #10890 in commit 1818b48, namely
Fix incorrect import warnings when methods with identical names are imported
was wrong, as demonstrated by the new test T10890_2. It suppressed
far too many warnings!
This patch fixes the original problem in a different way, by making
RdrName.greUsedRdrName a bit cleverer.
But this too is not really the Right Thing. I think the Right Thing is
to store the /GRE/ in the tcg_used_rdrnames, not the /RdrName/. That
would be a lot simpler and more direct.
But one step at a time.
Diffstat (limited to 'testsuite/tests/module/mod49.stderr')
0 files changed, 0 insertions, 0 deletions