DeclarationJoinLinesHandler: more careful precedence fix (IDEA-CR-34859)

This commit is contained in:
Tagir Valeev
2018-07-12 17:20:20 +07:00
parent fa71413378
commit 867968eea8
6 changed files with 48 additions and 65 deletions
@@ -0,0 +1,6 @@
class Foo {
{
int a = 1 + 2<caret>;
a *= 2 + 3;
}
}
@@ -0,0 +1,6 @@
class Foo {
{
int a = 1 + 2<caret>;
a -= 2 + 3;
}
}
@@ -0,0 +1,5 @@
class Foo {
{
int a = 1 + 2 - (2 + 3);
}
}
@@ -0,0 +1,5 @@
class Foo {
{
int a = (1 + 2) * (2 + 3);
}
}