Skip to content

[SE-0276] Syntax and Parse updates #30811

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

Closed
wants to merge 2 commits into from
Closed

Conversation

owenv
Copy link
Contributor

@owenv owenv commented Apr 4, 2020

The first commit is a cherry-pick of the Parse and Syntax changes from #27776 and reviewed by @rintaro, the second is the minimal set of changes needed to make them work with the old AST, plus a diagnostic saying the new syntax isn't yet supported.

The goal is to land the corresponding swift-syntax PR alongside this so the rest of #27776 becomes more manageable and easier to review.

@owenv owenv added the swift evolution approved Flag → feature: A feature that was approved through the Swift evolution process label Apr 4, 2020
@owenv
Copy link
Contributor Author

owenv commented Apr 4, 2020

swiftlang/swift-syntax#190

@swift-ci please test

@owenv owenv requested a review from rintaro April 4, 2020 20:06
@owenv owenv changed the title [SE-0267] Syntax and Parse updates [SE-0276] Syntax and Parse updates Apr 4, 2020
@owenv
Copy link
Contributor Author

owenv commented Apr 4, 2020

swiftlang/swift-syntax#190

@swift-ci please test source compatibility

Copy link
Member

@rintaro rintaro left a comment

Choose a reason for hiding this comment

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

Looks good. Thank you.

@owenv
Copy link
Contributor Author

owenv commented Apr 6, 2020

@rintaro thank you!

I also forgot to mention, I'm not sure if the rest of the SE-276 changes will be reviewed and merged before the 5.3 branch cut in a couple weeks. In that case, should we wait to merge this to avoid changing the swift-syntax API?

If you think this is ok to merge now, do you mind helping merge this alongside swiftlang/swift-syntax#190? I don't have commit access to swift-syntax.

@rintaro
Copy link
Member

rintaro commented Apr 6, 2020

@DougGregor @CodaFi Do you think you can review and merge the rest of #27776 by the branch cut?

Discussion: https://forums.swift.org/t/landing-se-0276-implementation/35093

@DougGregor
Copy link
Member

#27776 has landed

@DougGregor
Copy link
Member

The main PR has been merged, so do we close this one?

@owenv
Copy link
Contributor Author

owenv commented Apr 7, 2020

yeah, this is no longer needed, closing

@owenv owenv closed this Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
swift evolution approved Flag → feature: A feature that was approved through the Swift evolution process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants