[BLUEJ-212] Parser problem on some parenthesized expressions
The new parser mistakes parenthesized expressions which look like a type specifier as a cast, if the expression is followed by certain legitimate tokens including "," and ":" and "]".
eg
{noformat} int [] n = { (a), (b) } {noformat}
fails to parse correctly.
Issue metadata
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.0.0