JVM_IR: treat suspend-converted references as lambdas for inlining
Again, this is consistent with adapted function references, since they're pretty much the same anyway.
This commit is contained in:
+5
@@ -9893,6 +9893,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/coroutines/suspendConversion/onArgument.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("onInlineArgument.kt")
|
||||
public void testOnInlineArgument() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/suspendConversion/onInlineArgument.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("subtypeOfFunctionalTypeToSuspendConversion.kt")
|
||||
public void testSubtypeOfFunctionalTypeToSuspendConversion() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/suspendConversion/subtypeOfFunctionalTypeToSuspendConversion.kt");
|
||||
|
||||
Reference in New Issue
Block a user