mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
IR expects overridden symbols of "invoke" in KFunction to be "invoke" in the corresponding Function classes. Before this commit we don't set overriddenSymbol, now we do.
8 lines
93 B
Kotlin
Vendored
8 lines
93 B
Kotlin
Vendored
class A
|
|
|
|
fun A.foo() = (A::bar)(this, "OK")
|
|
|
|
fun A.bar(x: String) = x
|
|
|
|
fun box() = A().foo()
|