10 lines
160 B
Kotlin
Vendored
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
|
|
}
|
|
}
|