Skip to content
  • Simon Peyton Jones's avatar
    Don't do binder-swap for GlobalIds · 0eb7cf03
    Simon Peyton Jones authored and Matthew Pickering's avatar Matthew Pickering committed
    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
    0eb7cf03