[LL] ensure FirConstExpression's annotations are not lost (KTIJ-23968)

This commit is contained in:
Anna Kozlova
2022-12-15 11:26:22 +01:00
committed by Space Team
parent cc53671395
commit a529f8510d
11 changed files with 54 additions and 0 deletions
@@ -0,0 +1,4 @@
// LOOK_UP_FOR_ELEMENT_OF_TYPE: org.jetbrains.kotlin.psi.KtAnnotationEntry
fun x() {
val y = <expr>@Suppress("")</expr> ""
}
@@ -0,0 +1,6 @@
KT element: KtAnnotationEntry
FIR element: FirAnnotationCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
@R|kotlin/Suppress|(names = vararg(String()))