Skip to content

[AST] Improve calculation of source range for brace and do stmt #61016

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 10, 2022

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Sep 9, 2022

This allows us to later skip brace and do statements in result builders that are unrelated to the code completion token.

This allows us to later skip brace and do statements in result builders that are unrelated to the code completion token.
@ahoppen ahoppen requested a review from xedin September 9, 2022 07:19
@ahoppen
Copy link
Member Author

ahoppen commented Sep 9, 2022

@swift-ci Please smoke test

@ahoppen ahoppen merged commit 86c7f9f into swiftlang:main Sep 10, 2022
@ahoppen ahoppen deleted the ahoppen/do-brace-source-range branch September 10, 2022 04:56
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