[FIR] Save inline status of lambda after resolution
This commit is contained in:
committed by
TeamCityServer
parent
a4b9e2502c
commit
5ebd24eac5
Vendored
+3
-3
@@ -5,7 +5,7 @@ FILE: inplaceLambdaInControlFlowExpressions.kt
|
||||
public final fun test_1(): R|kotlin/Unit| {
|
||||
lval x: R|kotlin/String| = when () {
|
||||
Boolean(true) -> {
|
||||
R|kotlin/run|<R|kotlin/String|>(<L> = run@fun <anonymous>(): R|kotlin/String| <kind=EXACTLY_ONCE> {
|
||||
R|kotlin/run|<R|kotlin/String|>(<L> = run@fun <anonymous>(): R|kotlin/String| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
^ R|/materialize|<R|kotlin/String|>()
|
||||
}
|
||||
)
|
||||
@@ -18,7 +18,7 @@ FILE: inplaceLambdaInControlFlowExpressions.kt
|
||||
}
|
||||
public final fun test_2(): R|kotlin/Unit| {
|
||||
lval x: R|kotlin/String| = try {
|
||||
R|kotlin/run|<R|kotlin/String|>(<L> = run@fun <anonymous>(): R|kotlin/String| <kind=EXACTLY_ONCE> {
|
||||
R|kotlin/run|<R|kotlin/String|>(<L> = run@fun <anonymous>(): R|kotlin/String| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
^ R|/materialize|<R|kotlin/String|>()
|
||||
}
|
||||
)
|
||||
@@ -29,7 +29,7 @@ FILE: inplaceLambdaInControlFlowExpressions.kt
|
||||
|
||||
}
|
||||
public final fun test_3(): R|kotlin/Unit| {
|
||||
lval x: R|kotlin/String| = R|kotlin/run|<R|kotlin/String?|>(<L> = run@fun <anonymous>(): R|kotlin/String?| <kind=EXACTLY_ONCE> {
|
||||
lval x: R|kotlin/String| = R|kotlin/run|<R|kotlin/String?|>(<L> = run@fun <anonymous>(): R|kotlin/String?| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
^ R|/materialize|<R|kotlin/String?|>()
|
||||
}
|
||||
)!!
|
||||
|
||||
Reference in New Issue
Block a user