RAW FIR: record annotations on destructuring declarations

This commit is contained in:
Jinseong Jeon
2021-09-24 14:02:05 -07:00
committed by TeamCityServer
parent 464eecef03
commit 8f3b06ac06
7 changed files with 91 additions and 10 deletions
@@ -4,6 +4,6 @@ data class Pair(val x: Int, val y: Int)
fun foo(): Int {
@Ann val (a, b) = Pair(12, 34)
@Err val (c, d) = Pair(56, 78)
@<!UNRESOLVED_REFERENCE!>Err<!> val (c, d) = Pair(56, 78)
return a + b + c + d
}
}