Add quickfix for removing redundant spread operator

#KT-25306 Fixed
This commit is contained in:
Dmitriy Novozhilov
2019-12-17 13:35:44 +03:00
parent ee36fb903f
commit eed5b3f1d1
6 changed files with 82 additions and 0 deletions
@@ -0,0 +1,8 @@
// "Remove redundant *" "true"
// LANGUAGE_VERSION: 1.4
fun takeVararg(vararg s: String) {}
fun test(strings: Array<String>) {
takeVararg(s = *<caret>strings)
}