Files
kotlin-fork/idea/testData/quickfix/when/commasInConditionWithNoArguments2.kt
T
2015-11-30 14:43:03 +03:00

8 lines
179 B
Kotlin
Vendored

// "Replace ',' with '||' in when" "true"
fun test(a: Boolean, b: Boolean, c: Boolean) {
val c = when {
a<caret>, b -> "a"
c -> "b"
else -> "e"
}
}