Skip to content

Conversation

@tennisleng
Copy link

This PR implements support for UpdateExpression (e.g. x++) on variables captured by closures (context identifiers). Previously, this would throw a Todo error. The implementation emulates the behavior of member expression updates by explicitly loading the current value, calculating the new value with a BinaryExpression, and storing it back using StoreContext.

@tennisleng
Copy link
Author

Closing in favor of split PRs: #35320, #35321

@tennisleng tennisleng closed this Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant