Place array literals in annotations feature under the version 1.2

This commit is contained in:
Mikhail Zarechenskiy
2017-03-23 12:31:01 +03:00
parent 20d5616d75
commit 54f034a636
5 changed files with 7 additions and 13 deletions
@@ -1,3 +1,4 @@
// LANGUAGE_VERSION: 1.2
// WITH_REFLECT
// IGNORE_BACKEND: JS
@@ -15,7 +16,6 @@ fun check(b: Boolean, message: String) {
if (!b) throw RuntimeException(message)
}
@Suppress("UNSUPPORTED_FEATURE")
annotation class Foo(
val a: IntArray = [],
val b: IntArray = [1, 2, 3],