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.
10 lines
136 B
Kotlin
Vendored
10 lines
136 B
Kotlin
Vendored
abstract class A {
|
|
abstract fun foo(): String
|
|
}
|
|
|
|
class B : A() {
|
|
override fun foo() = "OK"
|
|
}
|
|
|
|
fun box(): String = (A::foo)(B())
|