Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0801cc12da5af28d8009eb66d070f37079ab755d
/
.
/
idea
/
testData
/
intentions
/
replaceAddWithPlusAssign
/
add.kt
blob: 53a0357ad0458c4cdd9266247c7315800a0d419d [
file
] [
log
] [
blame
]
// WITH_RUNTIME
// INTENTION_TEXT: Replace 'add()' with '+='
fun foo
()
{
val a
=
arrayListOf
<
Int
>(
1
,
2
,
3
)
a
.<
caret
>
add
(
4
)
}