Remove redundant spread operator: don't remove inner argument spread operator #KT-27699 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-11-16 12:37:28 +09:00
committed by Mikhail Glukhikh
parent 52c499166e
commit 75755afc00
4 changed files with 24 additions and 3 deletions
@@ -0,0 +1,6 @@
fun foo(vararg xs: String) {
}
fun bar(ys: Array<String>) {
foo(<caret>*arrayOf(*ys, "zzz"))
}
@@ -0,0 +1,6 @@
fun foo(vararg xs: String) {
}
fun bar(ys: Array<String>) {
foo(*ys, "zzz")
}