Files
kotlin-fork/compiler/testData/loadKotlin/fun/DeclaredMemberOverridesDelegated.kt
T
Pavel V. Talanov 1a3603652c Refactor DelegationResolver so that lazy and eager resolve share the code
Also fix an exception in LazyClassMemberScope
2013-09-30 20:54:39 +04:00

14 lines
123 B
Kotlin

package test
trait X {
fun foo()
}
trait Y : X {
}
class B(val a: X) : X by a, Y {
override fun foo() {
}
}