Files
kotlin-fork/idea/testData/intentions/conventionNameCalls/replaceContains/functionLiteralArgumentInExpression.kt
T
2015-05-14 01:10:05 +03:00

10 lines
203 B
Kotlin
Vendored

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())
}