9e5c68a8f9
It didn't check type's nullability
6 lines
83 B
Kotlin
6 lines
83 B
Kotlin
fun foo() {}
|
|
|
|
val x: Unit? = <!NO_ELSE_IN_WHEN!>when<!> ("A") {
|
|
"B" -> foo()
|
|
}
|