Files
kotlin-fork/idea/testData/intentions/replaceWithOperatorAssign/nonRepeatingAssignment.kt
T
Pradyoth Kukkapalli 249af96d3c New Intention Action: Replace with operator assign
Replaces a statement of the form a = a + b with a statement of the form
a += b.
2014-04-07 09:43:01 -04:00

7 lines
100 B
Kotlin

// IS_APPLICABLE: false
fun foo() {
var x = 0
val y = 0
val z = 0
<caret>x = y + z
}