[K/N] Fix default arguments in suspend functions
AddContinuationToFunctionsLowering was rewritten in way the order of this lowering and defaults lowering doesn't matter. ^KT-58214
This commit is contained in:
committed by
Space Team
parent
fa1b22cf31
commit
af318fdfb0
+6
-6
@@ -8145,15 +8145,15 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultParametersInSuspend.kt")
|
||||
public void testDefaultParametersInSuspend() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/defaultParametersInSuspend.kt");
|
||||
@TestMetadata("defaultParameterLambdaInSuspend.kt")
|
||||
public void testDefaultParameterLambdaInSuspend() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/defaultParameterLambdaInSuspend.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultParamterLambdaInSuspend.kt")
|
||||
public void testDefaultParamterLambdaInSuspend() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/defaultParamterLambdaInSuspend.kt");
|
||||
@TestMetadata("defaultParametersInSuspend.kt")
|
||||
public void testDefaultParametersInSuspend() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/defaultParametersInSuspend.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
+6
-6
@@ -8321,15 +8321,15 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultParametersInSuspend.kt")
|
||||
public void testDefaultParametersInSuspend() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/defaultParametersInSuspend.kt");
|
||||
@TestMetadata("defaultParameterLambdaInSuspend.kt")
|
||||
public void testDefaultParameterLambdaInSuspend() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/defaultParameterLambdaInSuspend.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultParamterLambdaInSuspend.kt")
|
||||
public void testDefaultParamterLambdaInSuspend() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/defaultParamterLambdaInSuspend.kt");
|
||||
@TestMetadata("defaultParametersInSuspend.kt")
|
||||
public void testDefaultParametersInSuspend() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/defaultParametersInSuspend.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
+6
-6
@@ -7971,15 +7971,15 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultParametersInSuspend.kt")
|
||||
public void testDefaultParametersInSuspend() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/defaultParametersInSuspend.kt");
|
||||
@TestMetadata("defaultParameterLambdaInSuspend.kt")
|
||||
public void testDefaultParameterLambdaInSuspend() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/defaultParameterLambdaInSuspend.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultParamterLambdaInSuspend.kt")
|
||||
public void testDefaultParamterLambdaInSuspend() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/defaultParamterLambdaInSuspend.kt");
|
||||
@TestMetadata("defaultParametersInSuspend.kt")
|
||||
public void testDefaultParametersInSuspend() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/defaultParametersInSuspend.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
+6
-6
@@ -8059,15 +8059,15 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultParametersInSuspend.kt")
|
||||
public void testDefaultParametersInSuspend() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/defaultParametersInSuspend.kt");
|
||||
@TestMetadata("defaultParameterLambdaInSuspend.kt")
|
||||
public void testDefaultParameterLambdaInSuspend() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/defaultParameterLambdaInSuspend.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultParamterLambdaInSuspend.kt")
|
||||
public void testDefaultParamterLambdaInSuspend() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/defaultParamterLambdaInSuspend.kt");
|
||||
@TestMetadata("defaultParametersInSuspend.kt")
|
||||
public void testDefaultParametersInSuspend() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/defaultParametersInSuspend.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user