• Simon Peyton Jones's avatar
    Check generic-default method for ambiguity · 85aa6ef0
    Simon Peyton Jones authored
    Fixes Trac #7497 and #12151.   In some earlier upheaval I introduced
    a bug in the ambiguity check for genreric-default method.
    This patch fixes it.  But in fixing it I realised that the
    sourc-location of any such error message was bogus, so I fixed
    that too, which involved a slightly wider change; see the
    comments with TcMethInfo.
all.T 18.9 KB