Skip to content

Migrate !currentToken.isStartOfLine to TokenSpec(allowStartOfLine: false) #1776

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
Jun 14, 2023

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Jun 13, 2023

TokenSpec(allowStartOfLine: false) is the more idiomatic way of checking whether a token is at the start of a line in SwiftParser.

… false)`

`TokenSpec(allowStartOfLine: false)` is the more idiomatic way of checking whether a token is at the start of a line in SwiftParser.
@ahoppen ahoppen requested a review from bnbarham June 13, 2023 21:31
@ahoppen ahoppen marked this pull request as ready for review June 13, 2023 21:31
@ahoppen
Copy link
Member Author

ahoppen commented Jun 13, 2023

@swift-ci Please test

@ahoppen ahoppen merged commit 8a75944 into swiftlang:main Jun 14, 2023
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.

3 participants