Files
kotlin-fork/idea/testData/quickfix/suspiciousCollectionReassignment/replaceWithAssignment/notLocal.kt
T

11 lines
278 B
Kotlin
Vendored

// "Replace with assignment" "false"
// ACTION: Replace overloaded operator with function call
// ACTION: Replace with ordinary assignment
// WITH_RUNTIME
class Test {
var list = emptyList<Int>()
fun test(otherList: List<Int>) {
list +=<caret> otherList
}
}