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

Add C++-like for loops #353

Merged
merged 16 commits into from
May 14, 2021
Merged

Add C++-like for loops #353

merged 16 commits into from
May 14, 2021

Conversation

jonmeow
Copy link
Contributor

@jonmeow jonmeow commented Mar 5, 2021

Add C++-like for loops

  • Omits for (;;) syntax for now.

@jonmeow jonmeow requested a review from a team March 5, 2021 23:05
@jonmeow jonmeow added WIP proposal A proposal labels Mar 5, 2021
@google-cla google-cla bot added the cla: yes PR meets CLA requirements according to bot. label Mar 5, 2021
@jonmeow jonmeow changed the title for loops for loops Mar 6, 2021
@jonmeow jonmeow added proposal rfc Proposal with request-for-comment sent out and removed WIP labels Mar 6, 2021
proposals/p0353.md Outdated Show resolved Hide resolved
proposals/p0353.md Show resolved Hide resolved
proposals/p0353.md Outdated Show resolved Hide resolved
Co-authored-by: Dmitri Gribenko <gribozavr@gmail.com>
proposals/p0353.md Outdated Show resolved Hide resolved
proposals/p0353.md Outdated Show resolved Hide resolved
proposals/p0353.md Outdated Show resolved Hide resolved
proposals/p0353.md Show resolved Hide resolved
jonmeow and others added 2 commits March 16, 2021 13:45
Co-authored-by: Richard Smith <richard@metafoo.co.uk>
@jonmeow jonmeow added this to All proposals in Proposals Mar 17, 2021
@jonmeow jonmeow moved this from All proposals to RFC in Proposals Mar 17, 2021
proposals/p0353.md Outdated Show resolved Hide resolved
proposals/p0353.md Outdated Show resolved Hide resolved
proposals/p0353.md Outdated Show resolved Hide resolved
proposals/p0353.md Show resolved Hide resolved
proposals/p0353.md Outdated Show resolved Hide resolved
proposals/p0353.md Outdated Show resolved Hide resolved
Copy link
Contributor

@josh11b josh11b left a comment

Choose a reason for hiding this comment

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

LGTM

@jonmeow jonmeow changed the title for loops Add C++-like for loops #340 Apr 13, 2021
proposals/p0353.md Outdated Show resolved Hide resolved
@jonmeow jonmeow changed the title Add C++-like for loops #340 Add C++-like for loops Apr 13, 2021
@jonmeow jonmeow requested a review from a team as a code owner April 20, 2021 15:37
Copy link
Contributor

@zygoloid zygoloid left a comment

Choose a reason for hiding this comment

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

Thanks, this looks great; let's move ahead with this.

proposals/p0353.md Outdated Show resolved Hide resolved
jonmeow and others added 2 commits May 14, 2021 13:54
Co-authored-by: Richard Smith <richard@metafoo.co.uk>
@jonmeow jonmeow merged commit b996adf into carbon-language:trunk May 14, 2021
Proposals automation moved this from RFC to Accepted May 14, 2021
@jonmeow jonmeow deleted the proposal-for-loops branch May 14, 2021 22:38
@github-actions github-actions bot added proposal accepted Decision made, proposal accepted and removed proposal rfc Proposal with request-for-comment sent out labels May 14, 2021
chandlerc pushed a commit that referenced this pull request Jun 28, 2022
Add C++-like `for` loops

-  Omits `for (;;)` syntax for now.

Co-authored-by: Dmitri Gribenko <gribozavr@gmail.com>
Co-authored-by: Richard Smith <richard@metafoo.co.uk>
Co-authored-by: austern <austern@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes PR meets CLA requirements according to bot. proposal accepted Decision made, proposal accepted proposal A proposal
Projects
No open projects
Proposals
Accepted
Development

Successfully merging this pull request may close these issues.

None yet

9 participants