6 lines
61 B
Kotlin
Vendored
6 lines
61 B
Kotlin
Vendored
fun foo() {}
|
|
|
|
val x: Unit? = when ("A") {
|
|
"B" -> foo()
|
|
}
|