summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorAlexis King <lexi.lambda@gmail.com>2020-04-17 16:54:54 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-04-19 03:16:44 -0400
commiteaed0a3289e4c24ff1a70c6fc4b7f8bae6cd2dd3 (patch)
treef4f40dd227d295319a747c66fb58474cdd9a1882 /libraries
parent15312bbb53f247c9ed2c5cf75100a9f44c1c7227 (diff)
downloadhaskell-eaed0a3289e4c24ff1a70c6fc4b7f8bae6cd2dd3.tar.gz
Add missing addInScope call for letrec binders in OccurAnal
This fixes #18044, where a shadowed variable was incorrectly substituted by the binder swap on the RHS of a floated-in letrec. This can only happen when the uniques line up *just* right, so writing a regression test would be very difficult, but at least the fix is small and straightforward.
Diffstat (limited to 'libraries')
0 files changed, 0 insertions, 0 deletions