[LL FIR] LLFirPhaseUpdater: add missing update for initializer body

This commit is contained in:
Dmitrii Gridin
2023-09-18 16:52:57 +02:00
committed by Space Team
parent 12dc6b1ebc
commit e5f0356e16
5 changed files with 12 additions and 10 deletions
@@ -19,10 +19,10 @@ FILE: [ResolvedTo(IMPORTS)] argsFromInit.kts
}
[ResolvedTo(BODY_RESOLVE)] init {
<Unresolved name: foo>#(<L> = [ResolvedTo(RAW_FIR)] foo@fun <anonymous>(): R|kotlin/Int| <inline=Unknown> {
<Unresolved name: foo>#(<L> = [ResolvedTo(BODY_RESOLVE)] foo@fun <anonymous>(): R|kotlin/Int| <inline=Unknown> {
^ R|<local>/args|.R|SubstitutionOverride<kotlin/Array.size: R|kotlin/Int|>|
}
)
}
}
}
@@ -4,7 +4,7 @@ FIR source kind: KtRealSourceElementKind
FIR element rendered:
[ResolvedTo(BODY_RESOLVE)] init {
[ResolvedTo(RAW_FIR)] lval i: R|kotlin/Int| = Int(1)
[ResolvedTo(BODY_RESOLVE)] lval i: R|kotlin/Int| = Int(1)
}
FIR FILE:
@@ -24,7 +24,7 @@ FILE: [ResolvedTo(IMPORTS)] initializerConflict.kt
}
[ResolvedTo(BODY_RESOLVE)] init {
[ResolvedTo(RAW_FIR)] lval i: R|kotlin/Int| = Int(1)
[ResolvedTo(BODY_RESOLVE)] lval i: R|kotlin/Int| = Int(1)
}
}