Files
kotlin-fork/idea/testData/intentions/attributeCallReplacements/replaceContainsIntention/functionLiteralArgumentInExpression.kt
T

10 lines
203 B
Kotlin

fun doSomething<T>(a: T) {}
fun test() {
class Test{
fun contains(fn: () -> Boolean) : Boolean = true
}
val test = Test()
doSomething(test.c<caret>ontains { true }.toString())
}