Files
kotlin-fork/compiler/testData/diagnostics/tests/regressions/kt302.kt
T
2021-04-02 10:24:20 +03:00

14 lines
278 B
Kotlin
Vendored

// FIR_IDENTICAL
// KT-302 Report an error when inheriting many implementations of the same member
package kt302
interface A {
open fun foo() {}
}
interface B {
open fun foo() {}
}
<!MANY_INTERFACES_MEMBER_NOT_IMPLEMENTED!>class C<!> : A, B {} //should be error here