Skip to content

Add a conditional compilation flag to verify token choices #1339

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
Mar 24, 2023

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Feb 12, 2023

Verification of token choice is currently causing assertion failures where the list of expected token choices in the syntax tree doesn't match those the parser generates.

I’d still like to get the verification code into main so I can conditionally enable it locally while working on the issues, so add it behind a conditional compilation flag.

@ahoppen ahoppen requested review from rintaro and bnbarham February 12, 2023 10:04
@ahoppen
Copy link
Member Author

ahoppen commented Feb 14, 2023

@swift-ci Please test

Verification of token choice is currently causing assertion failures where the list of expected token choices in the syntax tree doesn't match those the parser generates.

I’d still like to get the verification code into `main` so I can conditionally enable it locally while working on the issues, so add it behind a conditional compilation flag.
@ahoppen ahoppen force-pushed the ahoppen/validate-token-choices branch from 78a7fa1 to bbf5297 Compare March 23, 2023 23:17
@ahoppen
Copy link
Member Author

ahoppen commented Mar 23, 2023

@swift-ci Please test

@ahoppen ahoppen merged commit 8d345e5 into swiftlang:main Mar 24, 2023
@ahoppen ahoppen deleted the ahoppen/validate-token-choices branch March 24, 2023 14:18
ahoppen added a commit to ahoppen/swift-syntax that referenced this pull request Mar 31, 2023
…-choices

Add a conditional compilation flag to verify token choices
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