Mark
03/11/2020, 5:12 AMfun 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).Mark
03/12/2020, 9:14 AM