• simonpj@microsoft.com's avatar
    Fix Trac #2136: reporting of unused variables · 7502efdc
    simonpj@microsoft.com authored
    There's a bit of a hack RnBinds.rnValBindsAndThen, documented
    in Note [Unused binding hack].  But the hack was over brutal
    before, and produced unnecssarily bad (absence of) warnings.
    This patch does a bit of refactoring; and fixes the bug in
    rnValBindsAndThen.
    7502efdc
RnPat.lhs 25.1 KB