6 lines
101 B
Kotlin
Vendored
6 lines
101 B
Kotlin
Vendored
fun test(b: Boolean) {
|
|
val x = when(b) {
|
|
true -> <expr>5</expr>
|
|
else -> 0
|
|
}
|
|
} |