[FIR] CustomAnnotationTypeAttribute: store fir symbol instead of declaration
^KTIJ-23547 ^KTIJ-24141
This commit is contained in:
committed by
Space Team
parent
9d42a5cb01
commit
8ce4c4eba9
@@ -108,9 +108,11 @@ fun List<FirAnnotation>.computeTypeAttributes(
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (customAnnotations.isNotEmpty()) {
|
||||
attributes += CustomAnnotationTypeAttribute(customAnnotations, containerDeclaration)
|
||||
attributes += CustomAnnotationTypeAttribute(customAnnotations, containerDeclaration?.symbol)
|
||||
}
|
||||
|
||||
return ConeAttributes.create(attributes)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user