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

Matches may be non-exhaustive #419

Open
JSAbrahams opened this issue Jan 1, 2023 · 0 comments
Open

Matches may be non-exhaustive #419

JSAbrahams opened this issue Jan 1, 2023 · 0 comments

Comments

@JSAbrahams
Copy link
Owner

Description of Bug

If a match is non-exhaustive, no error is given in the check stage.

How to Reproduce

Steps to reproduce the behaviour, with steps and resulting error.

Expected behavior

A check should be done that all possible variants of the expression are covered.
If not, then the user should be forced to add a default case.

Additional context

@JSAbrahams JSAbrahams pinned this issue Jan 1, 2023
@JSAbrahams JSAbrahams unpinned this issue Jan 1, 2023
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

No branches or pull requests

1 participant