IR: Process script with LDL as if it is a function body

#KT-46645 fixed
#KT-48025 fixed
This commit is contained in:
Ilya Chernikov
2021-08-13 14:36:17 +02:00
committed by TeamCityServer
parent ebcc6eec97
commit e7cbc9a0fb
10 changed files with 138 additions and 11 deletions
@@ -39961,6 +39961,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
public void testClassReference() throws Exception {
runTest("compiler/testData/codegen/box/script/classReference.kt");
}
@Test
@TestMetadata("localCaptureTests.kt")
public void testLocalCaptureTests() throws Exception {
runTest("compiler/testData/codegen/box/script/localCaptureTests.kt");
}
}
@Nested
@@ -40135,6 +40135,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
public void testClassReference() throws Exception {
runTest("compiler/testData/codegen/box/script/classReference.kt");
}
@Test
@TestMetadata("localCaptureTests.kt")
public void testLocalCaptureTests() throws Exception {
runTest("compiler/testData/codegen/box/script/localCaptureTests.kt");
}
}
@Nested