Files
kotlin-fork/compiler/fir/raw-fir/psi2fir/testData/rawBuilder/declarations/scriptStatementLevelDestructuringWithAnnotation.kts
T
2023-12-07 12:26:39 +00:00

11 lines
253 B
Kotlin
Vendored

package util
if (true) {
@DestrAnno("destr 1 $prop")
val (@LeftAnno("a $prop") a, @RightAnno("b $prop") b) = 0 to 1
@Destr2Anno("destr 1 $prop")
val (@SecondLeftAnno("c $prop") c, @SecondRightAnno("d $prop") d) = 2 to 3
}
fun foo() {}