Skip to content
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

Abort early after type-checking malformed constraint guards #1695

Merged
merged 2 commits into from
Jul 3, 2024

Conversation

RyanGlScott
Copy link
Contributor

Checking ill-typed constraint guards for exhaustivity can cause Cryptol to panic. If we detect any type errors after type-checking the guards, we now abort early and report any recorded errors instead of proceeding to check exhaustivity.

Fixes #1593. Fixes #1693.

Checking ill-typed constraint guards for exhaustivity can cause Cryptol to
panic. If we detect any type errors after type-checking the guards, we now
abort early and report any recorded errors instead of proceeding to check
exhaustivity.

Fixes #1593. Fixes #1693.
@RyanGlScott RyanGlScott merged commit 97e972b into master Jul 3, 2024
45 checks passed
@RyanGlScott RyanGlScott deleted the issue1593-issue1693 branch July 3, 2024 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Panic: Unexpeceted numeric constraint Unexpeceted numeric constraint panic with malformed constraint guards
2 participants