[FIR] get rid of FirFileAnnotationsContainer

This element has been introduced to simplify resolution logic in LL FIR,
but now this element is redundant and only complicates the code as after
KT-56683 `FirFile` has real phases

^KT-65876 Fixed
This commit is contained in:
Dmitrii Gridin
2024-02-20 00:38:31 +01:00
committed by Space Team
parent 24c91bbf56
commit 17c128adf2
55 changed files with 109 additions and 484 deletions
@@ -1,12 +1,10 @@
KT element: KtFileAnnotationList
FIR element: FirFileAnnotationsContainerImpl
FIR source kind: KtRealSourceElementKind
FIR element: null
FIR source kind: null
FIR element rendered:
@FILE:R|kotlin/Suppress|[Types](names = vararg(String()))
[ResolvedTo(ANNOTATION_ARGUMENTS)] annotations container
null
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] fileAnnotationList.kt
@FILE:R|kotlin/Suppress|[Types](names = vararg(String()))
[ResolvedTo(ANNOTATION_ARGUMENTS)] annotations container
FILE: [ResolvedTo(RAW_FIR)] fileAnnotationList.kt
@FILE:Suppress[Unresolved](LAZY_EXPRESSION)