[IR] Don't evaluate expressions in inner class of an annotation

This commit is contained in:
Ivan Kylchik
2023-11-14 13:06:51 +01:00
committed by Space Team
parent 9742b5af73
commit 8715bd6189
21 changed files with 129 additions and 8 deletions
@@ -21681,6 +21681,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("annotationClassWithInner.kt")
public void testAnnotationClassWithInner() throws Exception {
runTest("compiler/testData/codegen/box/involvesIrInterpreter/annotationClassWithInner.kt");
}
@Test
@TestMetadata("booleanOperations.kt")
public void testBooleanOperations() throws Exception {
@@ -21681,6 +21681,12 @@ public class FirJsES6CodegenBoxTestGenerated extends AbstractFirJsES6CodegenBoxT
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
@Test
@TestMetadata("annotationClassWithInner.kt")
public void testAnnotationClassWithInner() throws Exception {
runTest("compiler/testData/codegen/box/involvesIrInterpreter/annotationClassWithInner.kt");
}
@Test
@TestMetadata("booleanOperations.kt")
public void testBooleanOperations() throws Exception {
@@ -21681,6 +21681,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("annotationClassWithInner.kt")
public void testAnnotationClassWithInner() throws Exception {
runTest("compiler/testData/codegen/box/involvesIrInterpreter/annotationClassWithInner.kt");
}
@Test
@TestMetadata("booleanOperations.kt")
public void testBooleanOperations() throws Exception {
@@ -21681,6 +21681,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/involvesIrInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
@Test
@TestMetadata("annotationClassWithInner.kt")
public void testAnnotationClassWithInner() throws Exception {
runTest("compiler/testData/codegen/box/involvesIrInterpreter/annotationClassWithInner.kt");
}
@Test
@TestMetadata("booleanOperations.kt")
public void testBooleanOperations() throws Exception {