[FIR2IR] Unwrap named arguments for suspend conversion

#KT-65878 Fixed
This commit is contained in:
Kirill Rakhman
2024-02-19 11:09:42 +01:00
committed by Space Team
parent b054a4481d
commit 634f0c2ae7
25 changed files with 254 additions and 14 deletions
@@ -38781,6 +38781,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
public void testSameWrapperClass2() {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass2.kt");
}
@Test
@TestMetadata("suspendSamConstructorAdaptation.kt")
public void testSuspendSamConstructorAdaptation() {
runTest("compiler/testData/codegen/box/sam/constructors/suspendSamConstructorAdaptation.kt");
}
}
@Nested
@@ -39767,6 +39767,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
public void testSameWrapperClass2() {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass2.kt");
}
@Test
@TestMetadata("suspendSamConstructorAdaptation.kt")
public void testSuspendSamConstructorAdaptation() {
runTest("compiler/testData/codegen/box/sam/constructors/suspendSamConstructorAdaptation.kt");
}
}
@Nested
@@ -37219,6 +37219,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
public void testSameWrapperClass2() {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass2.kt");
}
@Test
@TestMetadata("suspendSamConstructorAdaptation.kt")
public void testSuspendSamConstructorAdaptation() {
runTest("compiler/testData/codegen/box/sam/constructors/suspendSamConstructorAdaptation.kt");
}
}
@Nested
@@ -38194,6 +38194,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
public void testSameWrapperClass2() {
runTest("compiler/testData/codegen/box/sam/constructors/sameWrapperClass2.kt");
}
@Test
@TestMetadata("suspendSamConstructorAdaptation.kt")
public void testSuspendSamConstructorAdaptation() {
runTest("compiler/testData/codegen/box/sam/constructors/suspendSamConstructorAdaptation.kt");
}
}
@Nested