Files
kotlin/compiler/testData/codegen/box/when/exhaustiveBoolean.kt
2018-06-14 19:54:30 +03:00

5 lines
83 B
Kotlin
Vendored

fun box() : String = when (true) {
((true)) -> "OK"
(1 == 2) -> "Not ok"
}