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

Redundancy check runs forever when given inconsistent types #1423

Open
Negabinary opened this issue Dec 2, 2024 · 2 comments
Open

Redundancy check runs forever when given inconsistent types #1423

Negabinary opened this issue Dec 2, 2024 · 2 comments
Labels
bug critical critical bug

Comments

@Negabinary
Copy link
Contributor

To reproduce:

case ( , )
  | ([],  ) => ?
  | (x::
@Negabinary
Copy link
Contributor Author

Also occurs with

case 1
    | 1 =>
    | 1.

@Negabinary Negabinary changed the title Inconsistency check runs forever when comparing tuple and list Redundancy check runs forever when given inconsistent types Dec 2, 2024
@Negabinary
Copy link
Contributor Author

I suspect we need to find a way to turn off all redundancy and inconsistency checking when patterns are inconsistent

@cyrus- cyrus- added bug critical critical bug labels Dec 4, 2024
@cyrus- cyrus- moved this to Team Statics in Hazel Big Board Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug critical critical bug
Projects
Status: Team Statics
Development

No branches or pull requests

2 participants