[FIR] Save inline status of lambda after resolution
This commit is contained in:
committed by
TeamCityServer
parent
a4b9e2502c
commit
5ebd24eac5
+3
-3
@@ -10,7 +10,7 @@ FILE: inPlaceLambdas.kt
|
||||
public final fun test_1(x: R|kotlin/Any?|): R|kotlin/Unit| {
|
||||
when () {
|
||||
(R|<local>/x| is R|A|) -> {
|
||||
R|kotlin/run|<R|kotlin/Unit|>(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
|
||||
R|kotlin/run|<R|kotlin/Unit|>(<L> = run@fun <anonymous>(): R|kotlin/Unit| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
R|<local>/x|.R|/A.foo|()
|
||||
}
|
||||
)
|
||||
@@ -19,7 +19,7 @@ FILE: inPlaceLambdas.kt
|
||||
|
||||
}
|
||||
public final fun test_2(x: R|kotlin/Any?|): R|kotlin/Unit| {
|
||||
R|kotlin/run|<R|B|>(<L> = run@fun <anonymous>(): R|B| <kind=EXACTLY_ONCE> {
|
||||
R|kotlin/run|<R|B|>(<L> = run@fun <anonymous>(): R|B| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
^ (R|<local>/x| as R|B|)
|
||||
}
|
||||
)
|
||||
@@ -28,7 +28,7 @@ FILE: inPlaceLambdas.kt
|
||||
public final fun test_3(x: R|kotlin/Any?|): R|kotlin/Unit| {
|
||||
when () {
|
||||
(R|<local>/x| is R|A|) -> {
|
||||
R|kotlin/run|<R|B|>(<L> = run@fun <anonymous>(): R|B| <kind=EXACTLY_ONCE> {
|
||||
R|kotlin/run|<R|B|>(<L> = run@fun <anonymous>(): R|B| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
R|<local>/x|.R|/A.foo|()
|
||||
^ (R|<local>/x| as R|B|)
|
||||
}
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ FILE: lambdaInWhenBranch.kt
|
||||
private final fun foo(p: R|Sealed|): R|kotlin/Unit| {
|
||||
when (R|<local>/p|) {
|
||||
($subj$ is R|SubClass1|) -> {
|
||||
String().R|kotlin/let|<R|kotlin/String|, R|kotlin/String|>(<L> = let@fun <anonymous>(it: R|kotlin/String|): R|kotlin/String| <kind=EXACTLY_ONCE> {
|
||||
String().R|kotlin/let|<R|kotlin/String|, R|kotlin/String|>(<L> = let@fun <anonymous>(it: R|kotlin/String|): R|kotlin/String| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
^ R|<local>/it|
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user