Files
kotlin-fork/idea/testData/intentions/conventionNameCalls/replaceGet/functionalArgument.kt
T

10 lines
160 B
Kotlin
Vendored

fun test() {
class Test{
operator fun get(fn: (i: Int) -> Int) : Int = 0
}
val test = Test()
test.g<caret>et() { i ->
i
}
}