FIR IDE/LC: introduce/use delegated member scope

This commit is contained in:
Jinseong Jeon
2021-10-20 16:20:14 -07:00
committed by Ilya Kirillov
parent 700f8ac287
commit 3f2c86afb8
18 changed files with 271 additions and 20 deletions
@@ -0,0 +1,27 @@
// DO_NOT_CHECK_SYMBOL_RESTORE
interface I1 {
fun foo()
}
class I1Impl: I1 {
override fun foo() {}
}
interface I2 {
fun bar()
fun baz()
}
class I2Impl: I2 {
override fun bar() {}
override fun baz() {}
}
open class A : I1 by I1Impl()
class B : I2 by I2Impl(), A() {
override fun baz() {}
}
// class: B