[FIR2IR] Properly set isAssignable flag for parameters of tailrec functions

^KT-63973 Fixed
This commit is contained in:
Dmitriy Novozhilov
2023-12-12 16:36:06 +02:00
committed by Space Team
parent f4e3203cd8
commit 28f0f1ea88
25 changed files with 153 additions and 3 deletions
@@ -41696,6 +41696,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
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 {
@@ -42760,6 +42760,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
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 {
@@ -40074,6 +40074,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
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 {
@@ -41127,6 +41127,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
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 {