Files
kotlin-fork/idea/testData/formatter/When.after.kt
T
2020-06-15 16:25:54 +07:00

47 lines
402 B
Kotlin
Vendored

fun some(x: Any) {
when (x) {
is Number -> 0
else -> 1
}
when {
}
when {
}
when {
}
when (true) {
}
when (true) {
}
when
(true) {
}
when
(true) {
}
when {
}
}
val a = when {
true && true && true -> {
}
else -> {
}
}
// SET_FALSE: ALIGN_IN_COLUMNS_CASE_BRANCH