Skip to content

Conversation

mlechu
Copy link
Member

@mlechu mlechu commented Oct 6, 2025

Fix #59008. globalrefs are OK to assign to.

This check isn't actually necessary since we check the lhs again when re-expanding the assignment, and most of the forms allowed through aren't valid with a non-dotted op=, but deleting it makes some error messages worse.

@mlechu mlechu requested a review from oscardssmith October 6, 2025 23:32
@mlechu mlechu added the compiler:lowering Syntax lowering (compiler front end, 2nd stage) label Oct 6, 2025
@Keno Keno added the backport 1.12 Change should be backported to release-1.12 label Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 1.12 Change should be backported to release-1.12 compiler:lowering Syntax lowering (compiler front end, 2nd stage)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Macroexpand of globals slightly broken
3 participants