JVM IR: keep property annotations for inline class replacements
In particular, `@Deprecated` is not lost anymore and accessors of deprecated property are generated with ACC_DEPRECATED just as in the old backend. #KT-43327 Fixed
This commit is contained in:
+5
@@ -782,6 +782,11 @@ public class BytecodeListingTestGenerated extends AbstractBytecodeListingTest {
|
||||
public void testHidden() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/deprecated/hidden.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineClassTypesInSignature.kt")
|
||||
public void testInlineClassTypesInSignature() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/deprecated/inlineClassTypesInSignature.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/bytecodeListing/inline")
|
||||
|
||||
+5
@@ -752,6 +752,11 @@ public class IrBytecodeListingTestGenerated extends AbstractIrBytecodeListingTes
|
||||
public void testHidden() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/deprecated/hidden.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineClassTypesInSignature.kt")
|
||||
public void testInlineClassTypesInSignature() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/deprecated/inlineClassTypesInSignature.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/bytecodeListing/inline")
|
||||
|
||||
Reference in New Issue
Block a user