Provide quick fix for migration of single elements in named arguments
See more in KT-20171
This commit is contained in:
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
// "Surround with *arrayOf(...)" "true"
|
||||
// LANGUAGE_VERSION: 1.2
|
||||
|
||||
fun anyFoo(vararg a: Any) {}
|
||||
|
||||
fun test() {
|
||||
anyFoo(a = *arrayOf(intArrayOf(1)))
|
||||
}
|
||||
Reference in New Issue
Block a user