[FIR] CustomAnnotationTypeAttribute: store fir symbol instead of declaration

^KTIJ-23547
^KTIJ-24141
This commit is contained in:
Dmitrii Gridin
2023-01-17 12:10:35 +01:00
committed by Space Team
parent 9d42a5cb01
commit 8ce4c4eba9
3 changed files with 8 additions and 5 deletions
@@ -108,9 +108,11 @@ fun List<FirAnnotation>.computeTypeAttributes(
}
}
}
if (customAnnotations.isNotEmpty()) {
attributes += CustomAnnotationTypeAttribute(customAnnotations, containerDeclaration)
attributes += CustomAnnotationTypeAttribute(customAnnotations, containerDeclaration?.symbol)
}
return ConeAttributes.create(attributes)
}