IR: Allow references to script constructor in module

aso add test checking (somewhat confusing) semantic of
script nested classes.
This commit is contained in:
Ilya Chernikov
2021-08-13 19:18:34 +02:00
committed by TeamCityServer
parent e7cbc9a0fb
commit 47ea5330ff
12 changed files with 124 additions and 40 deletions
@@ -32030,6 +32030,16 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
public void testLocalCaptureTests() throws Exception {
runTest("compiler/testData/codegen/box/script/localCaptureTests.kt");
}
@TestMetadata("scripInstance.kt")
public void testScripInstance() throws Exception {
runTest("compiler/testData/codegen/box/script/scripInstance.kt");
}
@TestMetadata("scriptNestedClassInstance.kt")
public void testScriptNestedClassInstance() throws Exception {
runTest("compiler/testData/codegen/box/script/scriptNestedClassInstance.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/sealed")