added one more test to check if overrides are resolved correctly

This commit is contained in:
Kirill Berezin
2012-08-30 21:59:35 +04:00
committed by Andrey Breslav
parent 82a5beddea
commit 454ad48d5b
2 changed files with 23 additions and 1 deletions
@@ -0,0 +1,12 @@
trait A {
fun foo() {}
}
open class B(a: A) : A by a
class C(a: A): B(a), A {
}
fun b(c: C) {
c.foo();
}