[JS IR] Add annotation for eager property initialization

This commit is contained in:
Ilya Goncharov
2021-09-16 19:18:39 +03:00
committed by Space
parent b5fb0d9f33
commit c2cf221965
7 changed files with 96 additions and 8 deletions
@@ -19842,6 +19842,16 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/properties/complexPropertyInitializer.kt");
}
@TestMetadata("eagerInitializationGlobal1.kt")
public void testEagerInitializationGlobal1() throws Exception {
runTest("compiler/testData/codegen/box/properties/eagerInitializationGlobal1.kt");
}
@TestMetadata("eagerInitializationGlobal2.kt")
public void testEagerInitializationGlobal2() throws Exception {
runTest("compiler/testData/codegen/box/properties/eagerInitializationGlobal2.kt");
}
@TestMetadata("field.kt")
public void testField() throws Exception {
runTest("compiler/testData/codegen/box/properties/field.kt");
@@ -19248,6 +19248,16 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/properties/complexPropertyInitializer.kt");
}
@TestMetadata("eagerInitializationGlobal1.kt")
public void testEagerInitializationGlobal1() throws Exception {
runTest("compiler/testData/codegen/box/properties/eagerInitializationGlobal1.kt");
}
@TestMetadata("eagerInitializationGlobal2.kt")
public void testEagerInitializationGlobal2() throws Exception {
runTest("compiler/testData/codegen/box/properties/eagerInitializationGlobal2.kt");
}
@TestMetadata("field.kt")
public void testField() throws Exception {
runTest("compiler/testData/codegen/box/properties/field.kt");