OK. That’s what I thought. Doesn’t seem to work fo...
# getting-started
j
OK. That’s what I thought. Doesn’t seem to work for expressions of type
Unit
though:
val f: Unit = when (season)
still compiles if I forgot an enum member.