Files
kotlin-fork/idea/testData/intentions/replaceWithOperatorAssign/simpleAssign.kt.after
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

5 lines
52 B
Plaintext

fun foo() {
var y = 0
val x = 0
y += x
}