11 lines
168 B
Kotlin
Vendored
11 lines
168 B
Kotlin
Vendored
// IGNORE_BACKEND: JVM_IR
|
|
open class Base {
|
|
open val foo = "Base"
|
|
}
|
|
|
|
class Derived : Base() {
|
|
override val foo = "OK"
|
|
}
|
|
|
|
fun box() = (Base::foo).get(Derived())
|