Don't do binder-swap for GlobalIds

Authored by simonpj on Feb 21 2019, 3:34 AM.

Description

Don't do binder-swap for GlobalIds

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 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 Trac #16296

Details

Committed
mpickeringFeb 22 2019, 12:56 AM
Parents
rGHCa07f46ead660: Remove tcTyConUserTyVars
Branches
Unknown
Tags
Unknown