diff options
author | Alexis King <lexi.lambda@gmail.com> | 2020-04-17 16:54:54 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-04-19 03:16:44 -0400 |
commit | eaed0a3289e4c24ff1a70c6fc4b7f8bae6cd2dd3 (patch) | |
tree | f4f40dd227d295319a747c66fb58474cdd9a1882 /libraries | |
parent | 15312bbb53f247c9ed2c5cf75100a9f44c1c7227 (diff) | |
download | haskell-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