[LL FIR] LLFirPhaseUpdater: add missing update for code fragment block

This commit is contained in:
Dmitrii Gridin
2023-09-18 16:57:39 +02:00
committed by Space Team
parent e5f0356e16
commit 9ff3871a8b
3 changed files with 9 additions and 7 deletions
@@ -1,14 +1,14 @@
BEFORE MODIFICATION:
CODE FRAGMENT: {
local final [ResolvedTo(RAW_FIR)] class Foo : R|kotlin/Any| {
public [ResolvedTo(RAW_FIR)] [ContainingClassKey=Foo] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=<local>/x] x: R|kotlin/Int|): R|<local>/Foo| {
local final [ResolvedTo(BODY_RESOLVE)] class Foo : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Foo] constructor([ResolvedTo(BODY_RESOLVE)] [CorrespondingProperty=<local>/x] x: R|kotlin/Int|): R|<local>/Foo| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val x: R|kotlin/Int| = R|<local>/x|
public [ResolvedTo(RAW_FIR)] [ContainingClassKey=Foo] get(): R|kotlin/Int|
public final [ResolvedTo(BODY_RESOLVE)] [IsFromPrimaryConstructor=true] val x: R|kotlin/Int| = R|<local>/x|
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Foo] get(): R|kotlin/Int|
public final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
this@R|<local>/Foo|.R|<local>/foo|()
}