You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you wish to do the same thing for multiple enums in that particular function and also want exhaustiveness checking, you need to type each case out individually and then return the same thing, which is not great (DRY etc...).
The text was updated successfully, but these errors were encountered:
Feature
Allow the use of the
in
statement when doing exhaustiveness checking.Currently, this will raise the following exception:
where the following would not:
Pitch
If you wish to do the same thing for multiple enums in that particular function and also want exhaustiveness checking, you need to type each case out individually and then return the same thing, which is not great (DRY etc...).
The text was updated successfully, but these errors were encountered: