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

31 lines
363 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<A>.test()
}
}
class D : B, A {
override fun test() {
super<A>.test()
}
}
class E: B, A {
fun foo() {
super<A>.test()
}
}