KT-286 Check supertype lists (in progress)

Tests involving multiple inheritance fixed
This commit is contained in:
Andrey Breslav
2011-09-08 15:34:05 +04:00
parent 5cb298c093
commit 71bc41a938
22 changed files with 189 additions and 78 deletions
@@ -1,9 +1,11 @@
class Left() {}
class Right() {
// Changed when traits were introduced. May not make sense any more
trait class Left {}
open class Right() {
virtual fun f() = 42
}
class D() : Left(), Right() {
class D() : Left, Right() {
override fun f() = 239
}