Skip to content

[SwiftSyntax]: Use check for suffix instead of contains when checking for token #37382

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
May 14, 2021

Conversation

kimdv
Copy link
Contributor

@kimdv kimdv commented May 12, 2021

Syntax kind should end with token not contain it before it is considered as a token.
See comment here

swiftlang/swift-syntax#285

… for token

Syntax kind should end with token not contain it before it is considered as a token
@ahoppen
Copy link
Member

ahoppen commented May 14, 2021

swiftlang/swift-syntax#285

@swift-ci Please test

Copy link
Member

@ahoppen ahoppen left a comment

Choose a reason for hiding this comment

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

Nice!

@ahoppen ahoppen self-assigned this May 14, 2021
@ahoppen ahoppen merged commit bf4a4af into swiftlang:main May 14, 2021
@kimdv kimdv deleted the kimdv/fix-wrong-child-syntax-kind branch December 1, 2021 18:54
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