Files
kotlin-fork/js/js.translator/testData/box/callableReference/property/overriddenInSubclass.kt
T
2017-07-19 12:24:09 +03:00

14 lines
278 B
Kotlin
Vendored

// EXPECTED_REACHABLE_NODES: 1005
// This test was adapted from compiler/testData/codegen/box/callableReference/property/.
package foo
open class Base {
open val foo = "Base"
}
class Derived : Base() {
override val foo = "OK"
}
fun box() = (Base::foo).get(Derived())