Files
kotlin-fork/idea/testData/intentions/attributeCallReplacements/replaceInvokeIntention/invokeInExpression.kt
T

10 lines
220 B
Kotlin

fun doSomething<T>(a: T) {}
fun test() {
class Test {
fun invoke(a: Int, vararg b: String, fn: () -> Unit): String = "test"
}
val test = Test()
doSomething(test.i<caret>nvoke(1, "a", "b") { })
}