Files
kotlin-fork/idea/testData/intentions/replaceWithTraditionalAssignment/nonAugmentedAssign.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

7 lines
100 B
Kotlin

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