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

20 lines
345 B
Kotlin
Vendored

// FIR_IDENTICAL
interface ILeft {
fun foo() {}
val bar: Int get() = 1
}
interface IRight {
fun foo() {}
val bar: Int get() = 2
}
class CBoth : ILeft, IRight {
override fun foo() {
super<ILeft>.foo()
super<IRight>.foo()
}
override val bar: Int
get() = super<ILeft>.bar + super<IRight>.bar
}