Introduce language feature for array literals in annotations
This commit is contained in:
+1
@@ -15,6 +15,7 @@ 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],
|
||||
|
||||
Reference in New Issue
Block a user