Parse modifier list of multi-declaration and for parameters

This commit is contained in:
Denis Zharkov
2015-05-04 18:22:58 +03:00
parent e236d04957
commit 3d810ffe61
10 changed files with 761 additions and 94 deletions
@@ -0,0 +1,7 @@
fun foo() {
val (x, private data @ann [ann] y) = pair
val ([ann], x) = pair
@volatile val (@ann x, y) = 1
@volatile val (@ann x, y = 1
}