mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +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
112 B
Kotlin
Vendored
10 lines
112 B
Kotlin
Vendored
interface A {
|
|
fun foo(): String
|
|
}
|
|
|
|
class B : A {
|
|
override fun foo() = "OK"
|
|
}
|
|
|
|
fun box() = (A::foo)(B())
|