Fix testdata for tests which use varargs
Change tests to use new syntax for array literals to prevent deprecation warnings (see KT-20171).
This commit is contained in:
+2
-2
@@ -23,5 +23,5 @@ public @interface A {
|
||||
@A fun test8() {}
|
||||
|
||||
@A(x = Any::class, <!MIXING_NAMED_AND_POSITIONED_ARGUMENTS!>*arrayOf("5", "6")<!>, <!MIXING_NAMED_AND_POSITIONED_ARGUMENTS!>"7"<!>, y = 3) fun test9() {}
|
||||
@A(x = Any::class, value = *arrayOf("5", "6"), <!MIXING_NAMED_AND_POSITIONED_ARGUMENTS!>"7"<!>, y = 3) fun test10() {}
|
||||
@A(x = Any::class, value = *arrayOf("5", "6", "7"), y = 3) fun test11() {}
|
||||
@A(x = Any::class, value = ["5", "6"], <!MIXING_NAMED_AND_POSITIONED_ARGUMENTS!>"7"<!>, y = 3) fun test10() {}
|
||||
@A(x = Any::class, value = ["5", "6", "7"], y = 3) fun test11() {}
|
||||
|
||||
Reference in New Issue
Block a user