Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix bug in let when a global var is both shadowed and used in an RHS #39570

Merged
merged 1 commit into from
Feb 9, 2021

Conversation

JeffBezanson
Copy link
Member

This should only affect cases that incorrectly gave an undef var error before.

Also simplify the code a bit while I'm at it.

@JeffBezanson JeffBezanson added compiler:lowering Syntax lowering (compiler front end, 2nd stage) bugfix This change fixes an existing bug backport 1.6 Change should be backported to release-1.6 labels Feb 8, 2021
Copy link
Member

@vtjnash vtjnash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RSLGTM

@JeffBezanson JeffBezanson merged commit bc4e207 into master Feb 9, 2021
@JeffBezanson JeffBezanson deleted the jb/letlowering branch February 9, 2021 20:08
@KristofferC KristofferC mentioned this pull request Feb 11, 2021
52 tasks
vtjnash pushed a commit that referenced this pull request Feb 16, 2021
@KristofferC KristofferC mentioned this pull request Mar 14, 2021
14 tasks
@KristofferC KristofferC removed the backport 1.6 Change should be backported to release-1.6 label Mar 23, 2021
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
antoine-levitt pushed a commit to antoine-levitt/julia that referenced this pull request May 9, 2021
staticfloat pushed a commit that referenced this pull request Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This change fixes an existing bug compiler:lowering Syntax lowering (compiler front end, 2nd stage)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants