Refactor DelegationResolver

Fix an issue in lazy resolve : filter out methods from delegated traits superclass
This commit is contained in:
Pavel V. Talanov
2013-09-17 13:24:06 +04:00
parent c3a5a9b7b5
commit 6fb7a79a1f
8 changed files with 192 additions and 62 deletions
@@ -0,0 +1,23 @@
package test
abstract class A {
abstract fun foo()
}
trait X : A {
fun bar() {
}
}
open class B() : A() {
override fun foo() {
}
}
class C() : A(), X {
override fun foo() {
}
}
class D(val c: C) : B(), X by c {
}