Files
kotlin-fork/idea/testData/inspectionsLocal/removeRedundantSpreadOperator/namedArgument.kt
T
2017-06-16 15:04:04 +03:00

9 lines
177 B
Kotlin
Vendored

// PROBLEM: none
fun foo(vararg x: String) {}
fun bar() {
// We do not want to apply inspection here, because named argument is lost
foo(x = *arrayOf<caret>("abc"))
}