mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 00:21:28 +00:00
11 lines
172 B
Kotlin
Vendored
11 lines
172 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
open class Base {
|
|
open val foo = "Base"
|
|
}
|
|
|
|
class Derived : Base() {
|
|
override val foo = "OK"
|
|
}
|
|
|
|
fun box() = (Base::foo).get(Derived())
|