Join Slack
Communities
Powered by
simple case: `when` on a sealed class allows you t...
# language-proposals
y
yole
02/28/2016, 11:38 AM
simple case:
when
on a sealed class allows you to omit the
else
branch if you’ve listed all the subclasses of a sealed class because it’s guaranteed that no other class will enter the expression
Open in Slack
Previous
Next