// "Replace with assignment (original is empty)" "false" // TOOL: org.jetbrains.kotlin.idea.codeInsight.inspections.shared.SuspiciousCollectionReassignmentInspection // ACTION: Change type to mutable // ACTION: Replace overloaded operator with function call // ACTION: Replace with filter // ACTION: Replace with ordinary assignment // WITH_STDLIB fun test(otherList: List) { var list = emptyList() foo() bar() list -= otherList } fun foo() {} fun bar() {}