Skip to content

Add an Assert To Make Sure the SIL Parser Emits Diagnostics #34701

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
Nov 13, 2020

Conversation

CodaFi
Copy link
Contributor

@CodaFi CodaFi commented Nov 12, 2020

In #34693, we discovered the SIL parser can silently fail. Try to detect
this in +asserts builds.

@CodaFi CodaFi requested a review from gottesmm November 12, 2020 04:24
@CodaFi
Copy link
Contributor Author

CodaFi commented Nov 12, 2020

@swift-ci smoke test

In swiftlang#34693, we discovered the SIL parser can silently fail. Try to detect
this in +asserts builds.
Copy link
Contributor

@gottesmm gottesmm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@CodaFi
Copy link
Contributor Author

CodaFi commented Nov 12, 2020

@CodaFi
Copy link
Contributor Author

CodaFi commented Nov 12, 2020

@swift-ci smoke test

@CodaFi CodaFi merged commit 40b3843 into swiftlang:main Nov 13, 2020
@CodaFi CodaFi deleted the parse-down branch November 13, 2020 00:19
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