Closed tadeuzagallo closed 7 years ago
Right now if a value doesn't match any case, it will just skip to the next expression, which isn't type safe, since a function might return void instead of the type inferred for the match expression.
void
match
Right now if a value doesn't match any case, it will just skip to the next expression, which isn't type safe, since a function might return
void
instead of the type inferred for thematch
expression.