Files
kotlin-fork/idea/testData/intentions/splitIf/operatorAsFunctionParam.kt
T
2015-05-27 16:15:51 +03:00

12 lines
218 B
Kotlin
Vendored

// IS_APPLICABLE: false
fun doSomething<T>(a: T) {}
fun foo() {
val a = true
val b = false
fun test(a: Boolean): Boolean { return false }
if (test(a &<caret>& b)) {
doSomething("test")
}
}