Make the new binder-swap stuff in OccurAnal work right for GlobalIds
authorsimonpj@microsoft.com <unknown>
Thu, 2 Oct 2008 13:30:02 +0000 (13:30 +0000)
committersimonpj@microsoft.com <unknown>
Thu, 2 Oct 2008 13:30:02 +0000 (13:30 +0000)
commitac7db825a40d6b4e582a9b33969a1b0d5de9b3f6
treea643929d6124b8e99008bc15d8ad3dea57f9111c
parentaeacf01a72228854def12a9b712e261ab731ae7c
Make the new binder-swap stuff in OccurAnal work right for GlobalIds

See Note [Binder swap on GlobalId scrutinees].  I hadn't got this
right before, so repeated cases on imported Ids weren't getting optimised.
compiler/simplCore/OccurAnal.lhs