Skip to content
  • 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