[FIR] Add problematic resolve test case with delegated super call

This commit is contained in:
Mikhail Glukhikh
2020-08-26 15:08:21 +03:00
parent 3f5beb77e8
commit ede910065a
4 changed files with 49 additions and 0 deletions
@@ -0,0 +1,12 @@
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.<!ABSTRACT_SUPER_CALL!>foo<!>()
}
}