Skip to content

Respect Trailing Commas Better In Collection Element Parsing #872

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 1 commit into from
Oct 1, 2022

Conversation

CodaFi
Copy link
Contributor

@CodaFi CodaFi commented Sep 30, 2022

Match the C++ parser in its eagerness to process the next element after it sees a comma. This bug appears to have been masked by the rewrite of atStartOfStatement, which I reverted recently.

Match the C++ parser in its eagerness to process the next element after it sees a comma. This bug appears to have been masked by the rewrite of `atStartOfStatement`, which I reverted recently.
@CodaFi CodaFi requested a review from ahoppen as a code owner September 30, 2022 22:00
@CodaFi
Copy link
Contributor Author

CodaFi commented Sep 30, 2022

@swift-ci test

@DougGregor DougGregor merged commit b1c437d into swiftlang:main Oct 1, 2022
@CodaFi CodaFi deleted the bond-comma-james branch October 1, 2022 19:30
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