Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/diagnostics/superCallWithDelegation.kt
T
2020-12-16 19:52:30 +03:00

13 lines
208 B
Kotlin
Vendored

interface A {
fun foo()
}
open class B(private val a: A) : A by a
class C(a: A) : B(a) {
override fun foo() {
// Should be resolved to delegated B.foo (no error)
super.foo()
}
}