PSI2IR KT-47450 prevent SOE when generating IR for deep expressions

This commit is contained in:
Dmitry Petrov
2021-06-25 14:42:11 +03:00
committed by TeamCityServer
parent c4d9945782
commit 560c269e05
14 changed files with 868 additions and 59 deletions
@@ -1103,6 +1103,11 @@ public class KlibTextTestCaseGenerated extends AbstractKlibTextTestCase {
runTest("compiler/testData/ir/irText/expressions/kt47328.kt");
}
@TestMetadata("kt47450.kt")
public void testKt47450() throws Exception {
runTest("compiler/testData/ir/irText/expressions/kt47450.kt");
}
@TestMetadata("lambdaInCAO.kt")
public void testLambdaInCAO() throws Exception {
runTest("compiler/testData/ir/irText/expressions/lambdaInCAO.kt");