792af849df
It doesn't resolve the property as it is treated as a local one ^KT-62840
9 lines
247 B
Kotlin
Vendored
9 lines
247 B
Kotlin
Vendored
// 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)
|