86827dfc92
#KT-39123 Fixed
53 lines
390 B
Kotlin
Vendored
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 |