[LL FIR] update phase of value parameters on lazy resolve

Previously, such phases may not be properly set which could cause additional lazy resolve
This commit is contained in:
Ilya Kirillov
2022-08-06 15:30:31 +02:00
parent 56e6d5d6b9
commit cd063d0cd0
14 changed files with 59 additions and 56 deletions
@@ -188,10 +188,10 @@ FILE: lambdaAsSAMInterface.kt
}
public abstract fun [SUPER_TYPES] interface Foo : R|kotlin/Any| {
public abstract [STATUS] fun foo([RAW_FIR] a: R|foo/Arg|): R|foo/Arg|
public abstract [STATUS] fun foo([STATUS] a: R|foo/Arg|): R|foo/Arg|
}
public final [CONTRACTS] fun testMe([RAW_FIR] f: R|foo/Foo|): R|kotlin/Unit| {
public final [CONTRACTS] fun testMe([CONTRACTS] f: R|foo/Foo|): R|kotlin/Unit| {
}
public final [BODY_RESOLVE] fun resolveMe(): R|kotlin/Unit| {
R|foo/testMe|(<L> = [BODY_RESOLVE] [MatchingParameterFunctionTypeKey=foo/Foo] testMe@fun <anonymous>([BODY_RESOLVE] b: R|foo/Arg|): R|foo/Arg| <inline=NoInline> {