Files
kotlin-fork/compiler/testData/ir/irText/classes/superCalls.kt
T
2022-12-14 21:46:41 +00:00

17 lines
272 B
Kotlin
Vendored

// FIR_IDENTICAL
open class Base {
open fun foo() {}
open val bar: String = ""
override fun hashCode() = super.hashCode()
}
class Derived : Base() {
override fun foo() {
super.foo()
}
override val bar: String
get() = super.bar
}