ReplaceWithTraditionalAssignmentIntention - smaller range

This commit is contained in:
Valentin Kipyatkov
2015-04-29 19:36:40 +03:00
parent 8fc799322b
commit c617d5256e
6 changed files with 11 additions and 10 deletions
@@ -2,5 +2,5 @@ fun foo() {
var x = 0
val a = 1
val b = 1
<caret>x += a / b
x <caret>+= a / b
}
@@ -1,5 +1,5 @@
// IS_APPLICABLE: false
fun foo() {
var x = 0
<caret>x + 1
x <caret>+ 1
}
@@ -3,5 +3,5 @@ fun foo() {
var x = 0
val a = 1
val b = 1
<caret>x = a / b
x <caret>= a / b
}
@@ -1,4 +1,4 @@
fun foo() {
var x = 0
<caret>x += 1
x <caret>+= 1
}
@@ -1,4 +1,4 @@
fun foo() {
var x = 0
<caret>x = x + 1
x <caret>= x + 1
}