Files
2021-08-10 19:36:44 +03:00

29 lines
586 B
Kotlin
Vendored

// Interface AnotherInterface
// \ /
// \/
// DerivedInterface
//
interface Interface {
fun foo() {}
fun ambiguous() {}
val ambiguousProp: Int
get() = 222
}
interface AnotherInterface {
fun ambiguous() {}
val ambiguousProp: Int
get() = 333
}
interface DerivedInterface: Interface, AnotherInterface {
override fun foo() { super.foo() }
override fun ambiguous() {
<!AMBIGUOUS_SUPER!>super<!>.ambiguous()
}
override val ambiguousProp: Int
get() = <!AMBIGUOUS_SUPER!>super<!>.ambiguousProp
}