Skip to content

Disable assertions that check TokenKind #1311

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 Feb 3, 2023

I only now noticed that normal CI doesn't have assertions enabled and debug CI seems to fail in a variety of places with this assertion.

Disable the assertion for now. The path forward is to enable assertions in SwiftSyntax for Release+Assert builds and then re-apply this fix, fixing any issues that CI now discovers.

I only now noticed that normal CI doesn't have assertions enabled and debug CI seems to fail in a variety of places with this assertion.

Disable the assertion for now. The path forward is to enable assertions in SwiftSyntax for Release+Assert builds and then re-apply this fix, fixing any issues that CI now discovers.
@ahoppen ahoppen changed the title Remove assertions that check TokenKind Disable assertions that check TokenKind Feb 3, 2023
@ahoppen
Copy link
Member Author

ahoppen commented Feb 3, 2023

@swift-ci Please test

@DougGregor DougGregor merged commit 8bc71f0 into swiftlang:main Feb 3, 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.

2 participants