12 lines
133 B
Kotlin
Vendored
12 lines
133 B
Kotlin
Vendored
|
|
|
|
fun x() {}
|
|
|
|
operator fun Int.invoke(): Foo = this@Foo
|
|
|
|
class Foo {
|
|
|
|
val x = 0
|
|
|
|
fun foo() = x() // should resolve to fun x
|
|
} |