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