• Simon Peyton Jones's avatar
    Fix unused-import stuff in a better way · 9376249b
    Simon Peyton Jones authored
    The fix for Trac #10890 in commit 1818b48e, 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.
    9376249b
T10890_2.stderr 192 Bytes