461cce103b
#KT-1183 In Progress
10 lines
142 B
Kotlin
10 lines
142 B
Kotlin
open class Base {
|
|
open val foo = "Base"
|
|
}
|
|
|
|
class Derived : Base() {
|
|
override val foo = "OK"
|
|
}
|
|
|
|
fun box() = (Base::foo).get(Derived())
|