summaryrefslogtreecommitdiff
path: root/includes/ghcconfig.h
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-08-19 10:03:35 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-11-08 12:09:22 -0500
commit5c87ebd7b24db75c64443a708f6005ecad3b763e (patch)
treec12a06497ac4a6582fbb9faf20c55fb55c12d87a /includes/ghcconfig.h
parent3db2ab306d56582ac4d7600755393bf2e52a86cf (diff)
downloadhaskell-5c87ebd7b24db75c64443a708f6005ecad3b763e.tar.gz
SetLevels: Don't set context level when floating cases
When floating a single-alternative case we previously would set the context level to the level where we were floating the case. However, this is wrong as we are only moving the case and its binders. This resulted in #16978, where the disrepancy caused us to unnecessarily abstract over some free variables of the case body, resulting in shadowing and consequently Core Lint failures. (cherry picked from commit a2a0e6f3bb2d02a9347dec4c7c4f6d4480bc2421)
Diffstat (limited to 'includes/ghcconfig.h')
0 files changed, 0 insertions, 0 deletions