blob: 1ae064e44eccee6ec477b7847cddbc8ad576c222 [file]
// "Replace with assignment (original is empty)" "true"
// TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection
// WITH_RUNTIME
fun test(otherList: Set<Int>) {
var list = emptySet<Int>()
foo()
bar()
list <caret>+= otherList
}
fun foo() {}
fun bar() {}