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

Change 'for loop' tests to match semantics in Section 10.3.2.14 #684

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

opatrascoiu
Copy link
Contributor

This is related to #681

According to Section 10.3.2.14, range expressions are not allowed as iteration context. For example, 1..2 is supported but not (1..2]

An iteration context may either be an expression that returns a list of elements, or two expressions that return integers connected by “..”.

@opatrascoiu opatrascoiu changed the title Change tests to match semantics in Section 10.3.2.14 Change for loop tests to match semantics in Section 10.3.2.14 Nov 25, 2024
@opatrascoiu opatrascoiu changed the title Change for loop tests to match semantics in Section 10.3.2.14 Change 'for loop' tests to match semantics in Section 10.3.2.14 Dec 12, 2024
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.

1 participant