Lilly
11/02/2020, 3:31 PMdetekt
task, it complains about SpreadOperator
. The docs state:
When type resolution is enabled in detekt this case will not be flagged by the rule since it doesn’t suffer the performance penalty of an array copy.Does it mean
detekt
shouldn't detect that issue?gammax
11/02/2020, 4:09 PMLilly
11/02/2020, 4:21 PMarrayOf(
Libraries.APPCOMPAT,
*Libraries.KotlinExt.getAll(),
Libraries.TIMBER
).forEach { implementation(it) }
Just wanna know, if it wouldn't be detected when type resoltuin is enabled and spread operator used properly?