[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
@@ -81,6 +81,6 @@ private fun ConeKotlinType.customAnnotationsWithLazyResolve(phase: FirResolvePha
val custom = attributes.custom ?: return emptyList()
val annotations = custom.annotations.ifEmpty { return emptyList() }
custom.containerDeclaration?.lazyResolveToPhase(phase)
custom.containerSymbol?.lazyResolveToPhase(phase)
return annotations
}