Files
kotlin-fork/compiler/testData/diagnostics/tests/override/ToAbstractMembersFromSuper-kt1996.jet
T
Stepan Koltsov 448260fc3e KT-1996 Missing ABSTRACT_MEMBER_NOT_IMPLEMENTED when two supertypes contains same abstract member
===
trait Foo {
    fun foo(): Unit
}

trait Bar {
    fun foo(): Unit
}

class Baz : Foo, Bar // no error here
===

#KT-1996 fixed
2012-05-15 22:45:11 +04:00

12 lines
177 B
Plaintext

// http://youtrack.jetbrains.com/issue/KT-1996
trait Foo {
fun foo(): Unit
}
trait Bar {
fun foo(): Unit
}
class <!ABSTRACT_MEMBER_NOT_IMPLEMENTED!>Baz<!> : Foo, Bar