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

spec: specify order of effects in x, y, z = f() assignment #150

Open
alandonovan opened this issue Dec 22, 2020 · 0 comments
Open

spec: specify order of effects in x, y, z = f() assignment #150

alandonovan opened this issue Dec 22, 2020 · 0 comments

Comments

@alandonovan
Copy link
Contributor

The spec does not mandate the order of effects in a compound assignment such as x, y, z = f(). The Java and Go implementations, like Python, evaluate f() before the LHS expressions, as this is the only practical strategy. The spec should require it, and the implementations should have tests.

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

No branches or pull requests

1 participant