• Simon Peyton Jones's avatar
    Improve ambiguous-occurrence error message · 18c302cb
    Simon Peyton Jones authored
    Trac #15487 correctly reported that the qualification
    of a Name in an ambiguous-occurrence error message was
    wrong.  This patch fixes it.
    
    It's easily done, in RnUtils.addNameClashErrRn
    
    The problem was that in complaining about M.x we must
    enusre that 'M' part is the same as that used in
    pprNameProvenance.
    18c302cb
Name
Last commit
Last update
..
ghci Loading commit data...
should_compile Loading commit data...
should_fail Loading commit data...
should_run Loading commit data...
Makefile Loading commit data...