DelegationSpecifier resolve depends on expected type (supertype)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
trait A {
|
||||
fun foo() {}
|
||||
}
|
||||
|
||||
trait B : A {}
|
||||
|
||||
class C(b : B) : B by b {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user