IR: Allow references to script constructor in module
aso add test checking (somewhat confusing) semantic of script nested classes.
This commit is contained in:
committed by
TeamCityServer
parent
e7cbc9a0fb
commit
47ea5330ff
+12
@@ -39967,6 +39967,18 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
public void testLocalCaptureTests() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/script/localCaptureTests.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("scripInstance.kt")
|
||||
public void testScripInstance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/script/scripInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("scriptNestedClassInstance.kt")
|
||||
public void testScriptNestedClassInstance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/script/scriptNestedClassInstance.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
+12
@@ -40141,6 +40141,18 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
public void testLocalCaptureTests() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/script/localCaptureTests.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("scripInstance.kt")
|
||||
public void testScripInstance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/script/scripInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("scriptNestedClassInstance.kt")
|
||||
public void testScriptNestedClassInstance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/script/scriptNestedClassInstance.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
Reference in New Issue
Block a user