[LL FIR] reuse the same function for registering K/N FIR session components as in the compiler

So, if a new component is registered in the compiler, it's not forgotten for the LL FIR

This registers `FirDelegatedMembersFilter` for K/N modules and fixes KT-64528

^KT-64528 fixed
This commit is contained in:
Ilya Kirillov
2024-01-15 11:44:47 +01:00
committed by Space Team
parent 9f3c093072
commit 3a90cb00c7
8 changed files with 62 additions and 24 deletions
@@ -0,0 +1,15 @@
// FIR_IDENTICAL
interface A {
val bar: String
}
interface B : A {
override val bar: String
}
abstract class C(a: A) : B, A by a
fun foo(c: C) {
c.bar
}