Fix Trac #2861: bogus eta expansion
authorsimonpj@microsoft.com <unknown>
Tue, 9 Dec 2008 17:03:02 +0000 (17:03 +0000)
committersimonpj@microsoft.com <unknown>
Tue, 9 Dec 2008 17:03:02 +0000 (17:03 +0000)
commit81a1f4fcdfd15190cd546e7e2bfef4a9923e8d79
tree0359dff83c2180d604cb16a7927a60bcaf23d252
parent5a5acb3698aa4ffdd738c301fa722afe12a1f3de
Fix Trac #2861: bogus eta expansion

Urghlhl!  I "tided up" the treatment of the "state hack" in CoreUtils, but
missed an unexpected interaction with the way that a bottoming function
simply swallows excess arguments.  There's a long
     Note [State hack and bottoming functions]
to explain (which accounts for most of the new lines of code).
compiler/coreSyn/CoreUtils.lhs