-
Notifications
You must be signed in to change notification settings - Fork 118
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
refactor: add utility to err on unreachable branches #991
Conversation
It would be nice to add some usage examples for the new utilities |
4ecf064
to
027ac91
Compare
Perhaps let's try applying it to the map key/value pair types once #993 is merged |
027ac91
to
d6715e0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's revert changes on switch
which are not strictly necessary and keep them only for pairs of key/value types where exhaustivity is desired
CI is not all green |
3201711
to
dedd914
Compare
and use it in pattern matching over all key/value map type pairs
Issue
Closes #915.
Checklist