AA FIR: error annotation value for erroneous argument in class reference
This commit is contained in:
committed by
Ilya Kirillov
parent
298494fa08
commit
1464f33c5d
+5
@@ -0,0 +1,5 @@
|
||||
KtDeclaration: KtNamedFunction foo
|
||||
annotations: [
|
||||
A(a = 1)
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
annotation class A(val a: Int, val c: KClass<*>)
|
||||
|
||||
@A(1, Unknown::class)
|
||||
fun fo<caret>o(): Int = 42
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
KtDeclaration: KtNamedFunction foo
|
||||
annotations: [
|
||||
A(a = 1, c = UNRESOLVED_CLASS::class)
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
Reference in New Issue
Block a user