[FIR2IR] Properly set isAssignable flag for parameters of tailrec functions
^KT-63973 Fixed
This commit is contained in:
committed by
Space Team
parent
f4e3203cd8
commit
28f0f1ea88
+6
@@ -37923,6 +37923,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/vararg/varargInFunParam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargInTailrec.kt")
|
||||
public void testVarargInTailrec() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/vararg/varargInTailrec.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargsAndFunctionLiterals.kt")
|
||||
public void testVarargsAndFunctionLiterals() throws Exception {
|
||||
|
||||
Generated
+6
@@ -37923,6 +37923,12 @@ public class FirJsES6CodegenBoxTestGenerated extends AbstractFirJsES6CodegenBoxT
|
||||
runTest("compiler/testData/codegen/box/vararg/varargInFunParam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargInTailrec.kt")
|
||||
public void testVarargInTailrec() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/vararg/varargInTailrec.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargsAndFunctionLiterals.kt")
|
||||
public void testVarargsAndFunctionLiterals() throws Exception {
|
||||
|
||||
+6
@@ -37377,6 +37377,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/vararg/varargInFunParam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargInTailrec.kt")
|
||||
public void testVarargInTailrec() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/vararg/varargInTailrec.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargsAndFunctionLiterals.kt")
|
||||
public void testVarargsAndFunctionLiterals() throws Exception {
|
||||
|
||||
+6
@@ -37377,6 +37377,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
runTest("compiler/testData/codegen/box/vararg/varargInFunParam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargInTailrec.kt")
|
||||
public void testVarargInTailrec() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/vararg/varargInTailrec.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargsAndFunctionLiterals.kt")
|
||||
public void testVarargsAndFunctionLiterals() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user