Files
kotlin-fork/idea/testData/inspectionsLocal/suspiciousCollectionReassignment/simple.kt
T

6 lines
107 B
Kotlin
Vendored

// FIX: Change type to mutable
// WITH_RUNTIME
fun test() {
var list = listOf(1)
list +=<caret> 2
}