[IR] Move annotations from original to new constructor declarations.
LocalDeclarationsLowering did not move annotations when creating a new constructor declaration, thereby losing the annotations. Fixes KT-45298
This commit is contained in:
committed by
Alexander Udalov
parent
965c118521
commit
e5631addf3
+5
@@ -152,6 +152,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/annotations/javaAnnotationOnProperty.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("javaAnnotationOnSecondaryConstructorOfLocalClass.kt")
|
||||
public void testJavaAnnotationOnSecondaryConstructorOfLocalClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/javaAnnotationOnSecondaryConstructorOfLocalClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("javaNegativePropertyAsAnnotationParameter.kt")
|
||||
public void testJavaNegativePropertyAsAnnotationParameter() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/javaNegativePropertyAsAnnotationParameter.kt");
|
||||
|
||||
Reference in New Issue
Block a user