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

7 lines
154 B
Kotlin
Vendored

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