IR: Fix StackOverflowError caused by using DNN type in lambda

^KT-54140 Fixed
This commit is contained in:
Denis.Zharkov
2023-02-02 13:02:45 +01:00
committed by Space Team
parent c586d7a03a
commit 6d7096b5e9
14 changed files with 92 additions and 4 deletions
@@ -33377,6 +33377,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/regressions/objectInsideDelegation.kt");
}
@Test
@TestMetadata("recursiveDnnTypeInLambda.kt")
public void testRecursiveDnnTypeInLambda() throws Exception {
runTest("compiler/testData/codegen/box/regressions/recursiveDnnTypeInLambda.kt");
}
@Test
@TestMetadata("resolvedCallForGetOperator.kt")
public void testResolvedCallForGetOperator() throws Exception {
@@ -33557,6 +33557,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/regressions/objectInsideDelegation.kt");
}
@Test
@TestMetadata("recursiveDnnTypeInLambda.kt")
public void testRecursiveDnnTypeInLambda() throws Exception {
runTest("compiler/testData/codegen/box/regressions/recursiveDnnTypeInLambda.kt");
}
@Test
@TestMetadata("resolvedCallForGetOperator.kt")
public void testResolvedCallForGetOperator() throws Exception {
@@ -33557,6 +33557,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/regressions/objectInsideDelegation.kt");
}
@Test
@TestMetadata("recursiveDnnTypeInLambda.kt")
public void testRecursiveDnnTypeInLambda() throws Exception {
runTest("compiler/testData/codegen/box/regressions/recursiveDnnTypeInLambda.kt");
}
@Test
@TestMetadata("resolvedCallForGetOperator.kt")
public void testResolvedCallForGetOperator() throws Exception {
@@ -33557,6 +33557,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
runTest("compiler/testData/codegen/box/regressions/objectInsideDelegation.kt");
}
@Test
@TestMetadata("recursiveDnnTypeInLambda.kt")
public void testRecursiveDnnTypeInLambda() throws Exception {
runTest("compiler/testData/codegen/box/regressions/recursiveDnnTypeInLambda.kt");
}
@Test
@TestMetadata("resolvedCallForGetOperator.kt")
public void testResolvedCallForGetOperator() throws Exception {