[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:
committed by
Space Team
parent
24c91bbf56
commit
17c128adf2
Vendored
+5
-7
@@ -1,15 +1,13 @@
|
||||
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)] fileAnnotationListScript.kts
|
||||
@FILE:R|kotlin/Suppress|[Types](names = vararg(String()))
|
||||
[ResolvedTo(ANNOTATION_ARGUMENTS)] annotations container
|
||||
FILE: [ResolvedTo(RAW_FIR)] fileAnnotationListScript.kts
|
||||
@FILE:Suppress[Unresolved](LAZY_EXPRESSION)
|
||||
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
|
||||
SCRIPT: [ResolvedTo(RAW_FIR)] <script-fileAnnotationListScript.kts>
|
||||
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
Reference in New Issue
Block a user