Deserialize annotations from package$src files if needed
For top-level members, we now write a FQ name of the package$src class which has the member's annotations, and read the correct file in deserialization
This commit is contained in:
+10
@@ -141,6 +141,16 @@ public class DescriptorSerializationTestGenerated extends AbstractDescriptorSeri
|
||||
doTest("compiler/testData/loadKotlin/annotations/packageMembers/Getter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PropertyField.kt")
|
||||
public void testPropertyField() throws Exception {
|
||||
doTest("compiler/testData/loadKotlin/annotations/packageMembers/PropertyField.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PropertyNoField.kt")
|
||||
public void testPropertyNoField() throws Exception {
|
||||
doTest("compiler/testData/loadKotlin/annotations/packageMembers/PropertyNoField.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Setter.kt")
|
||||
public void testSetter() throws Exception {
|
||||
doTest("compiler/testData/loadKotlin/annotations/packageMembers/Setter.kt");
|
||||
|
||||
@@ -141,6 +141,16 @@ public class LoadCompiledKotlinTestGenerated extends AbstractLoadCompiledKotlinT
|
||||
doTestWithAccessors("compiler/testData/loadKotlin/annotations/packageMembers/Getter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PropertyField.kt")
|
||||
public void testPropertyField() throws Exception {
|
||||
doTestWithAccessors("compiler/testData/loadKotlin/annotations/packageMembers/PropertyField.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PropertyNoField.kt")
|
||||
public void testPropertyNoField() throws Exception {
|
||||
doTestWithAccessors("compiler/testData/loadKotlin/annotations/packageMembers/PropertyNoField.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Setter.kt")
|
||||
public void testSetter() throws Exception {
|
||||
doTestWithAccessors("compiler/testData/loadKotlin/annotations/packageMembers/Setter.kt");
|
||||
|
||||
+10
@@ -143,6 +143,16 @@ public class LazyResolveNamespaceComparingTestGenerated extends AbstractLazyReso
|
||||
doTestCheckingPrimaryConstructorsAndAccessors("compiler/testData/loadKotlin/annotations/packageMembers/Getter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PropertyField.kt")
|
||||
public void testPropertyField() throws Exception {
|
||||
doTestCheckingPrimaryConstructorsAndAccessors("compiler/testData/loadKotlin/annotations/packageMembers/PropertyField.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PropertyNoField.kt")
|
||||
public void testPropertyNoField() throws Exception {
|
||||
doTestCheckingPrimaryConstructorsAndAccessors("compiler/testData/loadKotlin/annotations/packageMembers/PropertyNoField.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Setter.kt")
|
||||
public void testSetter() throws Exception {
|
||||
doTestCheckingPrimaryConstructorsAndAccessors("compiler/testData/loadKotlin/annotations/packageMembers/Setter.kt");
|
||||
|
||||
Reference in New Issue
Block a user