[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
@@ -7036,15 +7036,15 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
}
|
||||
|
||||
@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
@@ -7132,15 +7132,15 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
}
|
||||
|
||||
@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
@@ -7132,15 +7132,15 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
}
|
||||
|
||||
@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
@@ -7132,15 +7132,15 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
}
|
||||
|
||||
@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