Join Slack
Powered by
<@U3ZLHBTLG> Enums are neither exhaustive nor non-...
# language-proposals
i
ilya.gorbunov
12/22/2017, 5:25 PM
@louiscad
Enums are neither exhaustive nor non-exhaustive by themselves, it's
when
switch that is exhaustive or not.
when
used as expression is exhaustive, and one used as statement is not.
👍 6
3
Views
Open in Slack
Previous
Next