Skip to content

Conversation

@JeffBezanson
Copy link
Member

This is kind of a partial fix that should be very safe. We still have the issue that an inner function with a A{<:B} type on an argument causes a local (for the type variable) to be moved to the top-level after the scope pass, where it then becomes a global. Fixing that will be a lot trickier, but with this the problem is harder to hit.

@JeffBezanson JeffBezanson added compiler:lowering Syntax lowering (compiler front end, 2nd stage) bugfix This change fixes an existing bug backport 1.5 labels Aug 24, 2020
@JeffBezanson JeffBezanson merged commit 9ae0a73 into master Aug 25, 2020
@JeffBezanson JeffBezanson deleted the jb/fix37126 branch August 25, 2020 18:25
KristofferC pushed a commit that referenced this pull request Aug 26, 2020
@KristofferC KristofferC mentioned this pull request Aug 26, 2020
29 tasks
simeonschaub pushed a commit to simeonschaub/julia that referenced this pull request Aug 29, 2020
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.

4 participants