Files
kotlin-fork/idea/testData/intentions/replaceAddWithPlusAssign/addAll.kt.after
T

7 lines
142 B
Plaintext
Vendored

// WITH_RUNTIME
// INTENTION_TEXT: Replace 'addAll()' with '+='
fun foo() {
val a = arrayListOf<Int>(1, 2, 3)
a += arrayOf(4, 5, 6)
}