Skip to content

Initial range operators implementation #1172

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

Merged
merged 2 commits into from
Jul 22, 2024
Merged

Initial range operators implementation #1172

merged 2 commits into from
Jul 22, 2024

Conversation

hsutter
Copy link
Owner

@hsutter hsutter commented Jul 21, 2024

Examples: v.begin()...end() and 1..=10

Examples: `v.begin()...end()` and `1..=10`
@hsutter hsutter merged commit d252cea into main Jul 22, 2024
38 of 57 checks passed
@hsutter hsutter deleted the range-operators branch July 22, 2024 01:39
@@ -5928,6 +5938,7 @@ class parser
//G postfix-expression '(' expression-list? ','? ')'
//G postfix-expression '.' id-expression
//G postfix-expression '..' id-expression
//G postfix-expression '...' primary-expression
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need ..= here too?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I do! Thanks, will fix.

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.

4 participants