Files
kotlin-fork/idea/testData/intentions/replaceWithTraditionalAssignment/complexRightExpression.kt
T
Pradyoth Kukkapalli eb3ddf50bf New Intention Action: Replace with traditional assign.
This takes an expression of the form a += b and converts it to an
expression form a = a + b.
2014-04-07 09:43:02 -04:00

6 lines
77 B
Kotlin

fun foo() {
var x = 0
val a = 1
val b = 1
<caret>x += a / b
}