Files
kotlin-fork/compiler/testData/codegen/box/callableReference/property/overriddenInSubclass.kt
T
2018-06-28 12:26:41 +02:00

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())