Add inspection removing redundant spread operator for arrayOf call

So #KT-17920 Fixed
This commit is contained in:
shiraji
2017-06-14 04:52:22 +03:00
committed by Mikhail Glukhikh
parent ce55d9e364
commit cbccf932a7
36 changed files with 352 additions and 13 deletions
@@ -0,0 +1,5 @@
fun foo(vararg x: Byte) {}
fun bar() {
foo(*byteArrayOf<caret>(1))
}