f0035a7be0
When there is multiline polyadic expression with some operators J2K should keep surrounding parentheses, otherwise operators will be dangling due resolved to prefix variant #KT-17379 fixed
19 lines
322 B
Java
Vendored
19 lines
322 B
Java
Vendored
//file
|
|
package demo;
|
|
|
|
class Test {
|
|
void test() {
|
|
int a = 0;
|
|
int b = 1;
|
|
int c = 2;
|
|
int d = 4;
|
|
int y = a // polyadic expression case
|
|
+ b // x2
|
|
+ c // x3
|
|
+ d; // x4
|
|
int z = a // binary expression case
|
|
+ b; // x4
|
|
int j = b +
|
|
c;
|
|
}
|
|
} |