[LL FIR] add getOrBuildFir test on destructuring declaration annotation
It doesn't resolve the property as it is treated as a local one ^KT-62840
This commit is contained in:
committed by
Space Team
parent
9ca0bdcb80
commit
792af849df
+8
@@ -0,0 +1,8 @@
|
||||
// LOOK_UP_FOR_ELEMENT_OF_TYPE: org.jetbrains.kotlin.psi.KtAnnotationEntry
|
||||
|
||||
data class MyPair(val a: Int, val b: Int)
|
||||
const val prop = 0
|
||||
annotation class DestrAnno(val s: String)
|
||||
|
||||
<expr>@DestrAnno("destr 1 $prop")</expr>
|
||||
val (a, b) = MyPair(1, 2)
|
||||
Reference in New Issue
Block a user