IR: copy anonymous initializer annotations properly #KT-48687 Fixed

This commit is contained in:
Mikhail Glukhikh
2021-09-09 15:58:27 +03:00
parent 108df38255
commit 457a6f4e9d
9 changed files with 149 additions and 0 deletions
@@ -407,6 +407,11 @@ public class KlibTextTestCaseGenerated extends AbstractKlibTextTestCase {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/declarations/annotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@TestMetadata("annotationOnClassWithInitializer.kt")
public void testAnnotationOnClassWithInitializer() throws Exception {
runTest("compiler/testData/ir/irText/declarations/annotations/annotationOnClassWithInitializer.kt");
}
@TestMetadata("annotationsInAnnotationArguments.kt")
public void testAnnotationsInAnnotationArguments() throws Exception {
runTest("compiler/testData/ir/irText/declarations/annotations/annotationsInAnnotationArguments.kt");