Files
kotlin-fork/idea/testData/quickfix/removeRedundantSpreadOperator/simple.kt
T
Dmitriy Novozhilov eed5b3f1d1 Add quickfix for removing redundant spread operator
#KT-25306 Fixed
2019-12-19 10:22:45 +03:00

8 lines
166 B
Kotlin
Vendored

// "Remove redundant *" "true"
// LANGUAGE_VERSION: 1.4
fun takeVararg(vararg s: String) {}
fun test(strings: Array<String>) {
takeVararg(s = *<caret>strings)
}