Files
kotlin-fork/compiler/testData/diagnostics/testsWithStdLib/annotations/jvmDefault/superCallAmbiguity2.fir.kt
T

32 lines
362 B
Kotlin
Vendored

// !JVM_TARGET: 1.8
interface A {
@JvmDefault
fun test()
}
interface B{
fun test() {
}
}
interface AB: A, B
interface BA: B, A
class C : A, B {
override fun test() {
super<B>.test()
}
}
class D : B, A {
override fun test() {
super<B>.test()
}
}
class E: B, A {
fun foo() {
super<B>.test()
}
}