[LL FIR] LLFirPhaseUpdater: add missing update for initializer body
This commit is contained in:
committed by
Space Team
parent
12dc6b1ebc
commit
e5f0356e16
@@ -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|>|
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -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)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user