blob: 01f1f5693afa450ae7a7c4b971dd7611054ab87f [file] [log] [blame]
// "Join with initializer" "true"
// TOOL: org.jetbrains.kotlin.idea.inspections.SuspiciousCollectionReassignmentInspection
// WITH_RUNTIME
fun test(otherList: List<Int>) {
var list = createList()
// comment
list <caret>+= otherList
}
fun createList(): List<Int> = listOf(1, 2, 3)