Files
kotlin-fork/js/js.translator/testFiles/patternMatching/cases/whenWithoutExpression.kt
T
Pavel V. Talanov 2650e9f6b0 Support when without expression.
#KT-1666 Fixed
2012-03-30 13:28:05 +04:00

6 lines
65 B
Kotlin

package foo
fun box() = when {
1 > 3 -> false
else -> true
}