AA FIR: error annotation value for erroneous argument in class reference

This commit is contained in:
Jinseong Jeon
2022-09-10 01:09:05 -07:00
committed by Ilya Kirillov
parent 298494fa08
commit 1464f33c5d
8 changed files with 39 additions and 1 deletions
@@ -0,0 +1,5 @@
KtDeclaration: KtNamedFunction foo
annotations: [
A(a = 1)
psi: KtAnnotationEntry
]
@@ -0,0 +1,4 @@
annotation class A(val a: Int, val c: KClass<*>)
@A(1, Unknown::class)
fun fo<caret>o(): Int = 42
@@ -0,0 +1,5 @@
KtDeclaration: KtNamedFunction foo
annotations: [
A(a = 1, c = UNRESOLVED_CLASS::class)
psi: KtAnnotationEntry
]