added one more test to check if overrides are resolved correctly
This commit is contained in:
committed by
Andrey Breslav
parent
82a5beddea
commit
454ad48d5b
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user