Files
kotlin-fork/idea/testData/formatter/When.kt
T
2020-05-27 11:24:05 +00:00

53 lines
390 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