Files
kotlin-fork/idea/testData/intentions/conventionNameCalls/replaceContains/functionLiteralArgumentInExpression.kt
T
2015-12-17 11:11:27 +03:00

10 lines
213 B
Kotlin
Vendored

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