Skip to content

Abort early after type-checking malformed constraint guards#1695

Merged
RyanGlScott merged 2 commits intomasterfrom
issue1593-issue1693
Jul 3, 2024
Merged

Abort early after type-checking malformed constraint guards#1695
RyanGlScott merged 2 commits intomasterfrom
issue1593-issue1693

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
@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