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

Guarantee match-case exhaustivity #5

Open
kyouko-taiga opened this issue Oct 23, 2018 · 0 comments
Open

Guarantee match-case exhaustivity #5

kyouko-taiga opened this issue Oct 23, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@kyouko-taiga
Copy link
Owner

The semantic analysis currently doesn't guarantee match-cases to exhaustively cover the possible execution of a match statement, which could potentially lead to a runtime crash of the interpreter. Here's super minimal example:

match 1 with 0 :: 0
@kyouko-taiga kyouko-taiga added the bug Something isn't working label Oct 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant