Skip to content

Allow creation of debugInitCall without trivia #1140

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

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Dec 13, 2022

When creating a substructure assertion, I usually remove all the trivia from the tokens to make it slightly more robust. debugInitCall can just omit them for us.

@ahoppen ahoppen requested a review from bnbarham December 13, 2022 10:36
@ahoppen
Copy link
Member Author

ahoppen commented Dec 13, 2022

@swift-ci Please test

@ahoppen ahoppen force-pushed the ahoppen/debuginitcall-without-trivia branch from 91bb576 to 2ce1aa6 Compare January 12, 2023 10:22
@ahoppen
Copy link
Member Author

ahoppen commented Jan 12, 2023

@swift-ci Please test

@ahoppen ahoppen merged commit 95a3cef into swiftlang:main Jan 13, 2023
@ahoppen ahoppen deleted the ahoppen/debuginitcall-without-trivia branch January 13, 2023 07:37
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