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

7 lines
133 B
Kotlin
Vendored

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