Remove redundant spread operator: don't remove inner argument spread operator #KT-27699 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
52c499166e
commit
75755afc00
+6
@@ -0,0 +1,6 @@
|
||||
fun foo(vararg xs: String) {
|
||||
}
|
||||
|
||||
fun bar(ys: Array<String>) {
|
||||
foo(<caret>*arrayOf(*ys, "zzz"))
|
||||
}
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
fun foo(vararg xs: String) {
|
||||
}
|
||||
|
||||
fun bar(ys: Array<String>) {
|
||||
foo(*ys, "zzz")
|
||||
}
|
||||
Reference in New Issue
Block a user