Comment Comment by misja111 > Switch expressions should always have a default/fallback branch,This will nullify the advantage of being able to treat sealed classes as algebraic datatypes by using the exhaustiveness check. parent misja111 13 days ago
This will nullify the advantage of being able to treat sealed classes as algebraic datatypes by using the exhaustiveness check.