Community
Participate
Working Groups
1. class A{ void f(){ int i= 1 + (2 + 3) + 4; } } 2+3 is not sitting inside a ParenthesizedExpression node 2. (probably caused by the same bug) class A{ void f(){ int i= (1 + 2) + 3; } } 1+2 is not inside a ParenthesizedExpression moreover, the InfixExpression it is includes spans over the following: 1 + 2) + 3 (note the missing '(' at the beginning)
I will investigate.
This is crucial and needs a fix asap. I am working on it.
Fixed and released in HEAD. Regression tests added.
Verified.