6356807997
#KT-36247 fixed A lot of testdata changed because significanly less (error) descriptors are created for unresolved types, so diagnostics became different.
29 lines
658 B
Kotlin
Vendored
29 lines
658 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<!>.<!DEBUG_INFO_MISSING_UNRESOLVED!>ambiguous<!>()
|
|
}
|
|
override val ambiguousProp: Int
|
|
get() = <!AMBIGUOUS_SUPER!>super<!>.<!DEBUG_INFO_MISSING_UNRESOLVED!>ambiguousProp<!>
|
|
}
|
|
|