• Simon Peyton Jones's avatar
    Don't do binder-swap for GlobalIds · 0eb7cf03
    Simon Peyton Jones authored
    This patch disables the binder-swap transformation in the
    (relatively rare) case when the scrutinee is a GlobalId.
    Reason: we are getting Lint errors so that GHC doesn't
    even validate.  Trac #16346.
    This is NOT the final solution -- it's just a stop-gap
    to get us running again.
    The final solution is in Trac #16296
OccurAnal.hs 115 KB