summaryrefslogtreecommitdiff
path: root/bindisttest/install
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-08-19 10:03:35 -0400
committerBen Gamari <ben@smart-cactus.org>2019-11-07 07:44:29 -0500
commit018180d91e554d14265639c24cf9c169d98e34c6 (patch)
tree733486f260513ad7d94309c74b479a368239ba03 /bindisttest/install
parent3c9161621c6e467f53c5d4649a3c54b3cb40fbf9 (diff)
downloadhaskell-wip/T16978.tar.gz
SetLevels: Don't set context level when floating caseswip/T16978
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 'bindisttest/install')
0 files changed, 0 insertions, 0 deletions