PSI2IR don't copy annotations for properties implemented by delegation

KT-43012
This commit is contained in:
Dmitry Petrov
2020-10-29 14:31:18 +03:00
parent 53004f97b1
commit 08b761ae7a
11 changed files with 324 additions and 2 deletions
@@ -171,6 +171,11 @@ public class BytecodeListingTestGenerated extends AbstractBytecodeListingTest {
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/bytecodeListing/annotations"), Pattern.compile("^(.+)\\.kt$"), null, true);
}
@TestMetadata("annotationsOnDelegatedMembers.kt")
public void testAnnotationsOnDelegatedMembers() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/annotations/annotationsOnDelegatedMembers.kt");
}
@TestMetadata("defaultTargets.kt")
public void testDefaultTargets() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/annotations/defaultTargets.kt");
@@ -171,6 +171,11 @@ public class IrBytecodeListingTestGenerated extends AbstractIrBytecodeListingTes
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/bytecodeListing/annotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@TestMetadata("annotationsOnDelegatedMembers.kt")
public void testAnnotationsOnDelegatedMembers() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/annotations/annotationsOnDelegatedMembers.kt");
}
@TestMetadata("defaultTargets.kt")
public void testDefaultTargets() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/annotations/defaultTargets.kt");