[FIR] add missed transformations for type annotations inside FirField
This issue doesn't affect the compiler because delegate field shares annotation instance with the containing class, so it will be resolved before field anyway. In Low Level FIR we didn't notice this issue because we don't have isResolved checks for type annotations (KT-63681) ^KT-63042 ^KT-63681
This commit is contained in:
committed by
Space Team
parent
38c959ba5a
commit
5a54520723
+2
@@ -307,6 +307,8 @@ private class FirDeclarationsResolveTransformerForAnnotationArguments(
|
||||
override fun transformField(field: FirField, data: ResolutionMode): FirField {
|
||||
context.withField(field) {
|
||||
field.transformAnnotations(transformer, data)
|
||||
.transformReturnTypeRef(transformer, data)
|
||||
.transformBackingField(transformer, data)
|
||||
}
|
||||
|
||||
return field
|
||||
|
||||
Reference in New Issue
Block a user