Files
kotlin-fork/idea/testData/inspectionsLocal/conventionNameCalls/replaceGetOrSet/functionalArgument.kt
T
2017-12-26 18:39:47 +03:00

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