Files
kotlin-fork/compiler/testData/codegen/box/callableReference/property/accessViaSubclass.kt
T
2020-11-09 16:04:43 +03:00

12 lines
210 B
Kotlin
Vendored

// DONT_TARGET_EXACT_BACKEND: WASM
// WASM_MUTE_REASON: PROPERTY_REFERENCES
abstract class Base {
val result = "OK"
}
class Derived : Base()
fun box(): String {
return (Base::result).get(Derived())
}