mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
DeclarationJoinLinesHandler: more careful precedence fix (IDEA-CR-34859)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class Foo {
|
||||
{
|
||||
int a = 1 + 2 - (2 + 3);
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class Foo {
|
||||
{
|
||||
int a = (1 + 2) * (2 + 3);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user