simple case: `when` on a sealed class allows you t...
# language-proposals
y
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