Suppose a class has two funs: `fun myFun(vararg ps...
# announcements
m
Suppose a class has two funs:
fun myFun(vararg ps: MyParam1)
and
fun myFun(vararg ps: MyParam2)
and we have a call like
myFun(*emptyArray<MyParam1>())
then AndroidStudio will give the warning
Remove redundant spread operator
which is wrong because it is not redundant (and indeed
myFun()
will give a compilation error).
I guess this one flew under the radar 😬