Allow to use collection literals only in annotations

This commit is contained in:
Mikhail Zarechenskiy
2017-03-21 03:11:54 +03:00
parent bfe2ddf7c1
commit a2ea518b1a
7 changed files with 40 additions and 3 deletions
@@ -14,5 +14,5 @@ fun test2() {}
fun test3() {}
fun test4() {
[1, 2]
<!UNSUPPORTED!>[1, 2]<!>
}