Skip to content

Remove SyntaxProtocol.syntaxNodeType requirement #683

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
Sep 1, 2022

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Sep 1, 2022

Instead, provide it in extension SyntaxProtocol.
Also, avoid creating existential or checking dynamic type for it. It can be statically determined by the SyntaxKind.

@rintaro rintaro requested a review from ahoppen as a code owner September 1, 2022 16:43
Instead, provide it in `extension SyntaxProtocol`.
Also, avoid creating existential or checking dynamic type for it. It can
be statically determined by the `SyntaxKind`.
@rintaro rintaro force-pushed the syntaxnodetype-simple branch from fadf52f to 07d0200 Compare September 1, 2022 16:45
@rintaro
Copy link
Member Author

rintaro commented Sep 1, 2022

@swift-ci Please test

@rintaro
Copy link
Member Author

rintaro commented Sep 1, 2022

@akyrtzi You introduced this in #214. Do you have any concern with this change?

@akyrtzi
Copy link
Contributor

akyrtzi commented Sep 1, 2022

No, seems good 👍

@rintaro rintaro merged commit bb99500 into swiftlang:main Sep 1, 2022
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