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

Allow assignments and update operators within assignments and update operators ++/-- #353

Merged
merged 2 commits into from
Feb 10, 2023

Conversation

edemaine
Copy link
Collaborator

@edemaine edemaine commented Feb 9, 2023

Sequel to #348 (further advancing #317) to also support update operators ++/--. Some fun consequences like ++x++++x, x++. Also realized that x++ *= 2 should probably compile to x *= 2, x++, i.e., putting the inner assignment after instead of before the outer assignment, to preserve typical post-++ semantics.

@edemaine edemaine temporarily deployed to build February 9, 2023 15:34 — with GitHub Actions Inactive
@edemaine edemaine merged commit 9b4f711 into main Feb 10, 2023
@edemaine edemaine deleted the update-assign branch February 10, 2023 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants