mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-07 00:21:28 +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
96 B
Kotlin
Vendored
8 lines
96 B
Kotlin
Vendored
class A {
|
|
private fun foo() = "OK"
|
|
|
|
fun bar() = (A::foo)(this)
|
|
}
|
|
|
|
fun box() = A().bar()
|