[LL FIR] LLFirPhaseUpdater: add missing update for code fragment block
This commit is contained in:
committed by
Space Team
parent
e5f0356e16
commit
9ff3871a8b
+5
-5
@@ -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|()
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -1,9 +1,9 @@
|
||||
BEFORE MODIFICATION:
|
||||
CODE FRAGMENT: {
|
||||
local final [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] a: R|kotlin/Int|, [ResolvedTo(RAW_FIR)] b: R|kotlin/String|): R|kotlin/Unit| {
|
||||
local final [ResolvedTo(BODY_RESOLVE)] fun foo([ResolvedTo(BODY_RESOLVE)] a: R|kotlin/Int|, [ResolvedTo(BODY_RESOLVE)] b: R|kotlin/String|): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
local final [ResolvedTo(RAW_FIR)] fun bar(): R|kotlin/Unit| {
|
||||
local final [ResolvedTo(BODY_RESOLVE)] fun bar(): R|kotlin/Unit| {
|
||||
R|/foo|(Int(1), String(foo))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user