No repeat 'many impl member not implemented' error

in a subclass if there is one in a superclass
This commit is contained in:
Svetlana Isakova
2012-08-10 12:54:06 +04:00
parent 6e67bd64fa
commit 65ddcd0473
3 changed files with 141 additions and 21 deletions
@@ -0,0 +1,17 @@
package d
trait A {
fun foo() = 1
}
trait B {
fun foo() = 2
}
open class <!MANY_IMPL_MEMBER_NOT_IMPLEMENTED!>C<!> : A, B {}
trait E {
fun foo(): Int
}
class D : C() {}