Files
kotlin-fork/compiler/testData/diagnostics/tests/regressions/kt302.kt
T
2015-05-12 19:43:17 +02:00

14 lines
256 B
Kotlin
Vendored

// 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_IMPL_MEMBER_NOT_IMPLEMENTED!>class C<!> : A, B {} //should be error here