Files
kotlin-fork/idea/testData/intentions/splitIf/splitIfWithFunction.kt
T

10 lines
165 B
Kotlin

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