[AA-FE1.0] Flatten spread arguments in annotations.

This requires plumbing a Fe10AnalysisContext through to the
KtFe10AnnotationsList, so that the context's module descriptor and
KotlinBuiltIns instance can be used to look up types correctly.

This eliminates the difference between the FIR and FE1.0 AA
implementations with regards to annotation spread argument handling.
This commit is contained in:
Justin Paupore
2023-01-03 14:06:48 -08:00
committed by Yan Zhulanow
parent 212baf580c
commit 0c516f8483
20 changed files with 82 additions and 39 deletions
@@ -1,5 +0,0 @@
KtDeclaration: KtClass Foo
annotations: [
A(strings = [["foo", "bar"], "baz", ["quux"]])
psi: KtAnnotationEntry
]