Files
kotlin-fork/idea/testData/intentions/conventionNameCalls/replaceGetOrSet/argumentAndFunction.kt
T
2015-10-22 18:48:15 +03:00

10 lines
180 B
Kotlin
Vendored

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