Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/expresssions/invoke/extension.kt
T
2020-12-16 19:52:30 +03:00

12 lines
138 B
Kotlin
Vendored

fun x() {}
class Foo {
operator fun Int.invoke(): Foo = this@Foo
val x = 0
fun foo() = x() // should resolve to invoke
}