Allow to use collection literals only in annotations
This commit is contained in:
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// !DIAGNOSTICS: -UNUSED_VARIABLE
|
||||
// !DIAGNOSTICS: -UNUSED_VARIABLE, -UNSUPPORTED
|
||||
|
||||
fun basicTypes() {
|
||||
val a: IntArray = [1]
|
||||
|
||||
Reference in New Issue
Block a user