Add language feature for changed name of property annotations method
#KT-31352 Fixed
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ public class SyntheticMethodForAnnotatedPropertyGenTest extends CodegenTestCase
|
||||
return "properties/syntheticMethod";
|
||||
}
|
||||
|
||||
private static final String TEST_SYNTHETIC_METHOD_NAME = JvmAbi.getSyntheticMethodNameForAnnotatedProperty("getProperty");
|
||||
private static final String TEST_SYNTHETIC_METHOD_NAME = JvmAbi.getSyntheticMethodNameForAnnotatedProperty("property");
|
||||
|
||||
public void testInClass() {
|
||||
loadFile();
|
||||
|
||||
+5
@@ -1160,6 +1160,11 @@ public class WriteFlagsTestGenerated extends AbstractWriteFlagsTest {
|
||||
public void testPublicProperty() throws Exception {
|
||||
runTest("compiler/testData/writeFlags/property/syntheticAnnotationsMethod/publicProperty.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("withGetterJvmName.kt")
|
||||
public void testWithGetterJvmName() throws Exception {
|
||||
runTest("compiler/testData/writeFlags/property/syntheticAnnotationsMethod/withGetterJvmName.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/writeFlags/property/visibility")
|
||||
|
||||
+5
@@ -1160,6 +1160,11 @@ public class IrWriteFlagsTestGenerated extends AbstractIrWriteFlagsTest {
|
||||
public void testPublicProperty() throws Exception {
|
||||
runTest("compiler/testData/writeFlags/property/syntheticAnnotationsMethod/publicProperty.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("withGetterJvmName.kt")
|
||||
public void testWithGetterJvmName() throws Exception {
|
||||
runTest("compiler/testData/writeFlags/property/syntheticAnnotationsMethod/withGetterJvmName.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/writeFlags/property/visibility")
|
||||
|
||||
Reference in New Issue
Block a user