DelegationSpecifier resolve depends on expected type (supertype)

This commit is contained in:
Svetlana Isakova
2014-07-19 20:32:37 +04:00
parent e7c285e0e0
commit 8f6f8331ac
10 changed files with 78 additions and 46 deletions
@@ -0,0 +1,10 @@
trait A {
fun foo() {}
}
trait B : A {}
class C(b : B) : B by b {
}