Skip to content

fix: update tree-sitter-java-orchard to 0.5.10#988

Merged
jtkiesel merged 1 commit into
jhipster:mainfrom
jtkiesel:fix/update-tree-sitter-java-orchard
Jul 19, 2026
Merged

fix: update tree-sitter-java-orchard to 0.5.10#988
jtkiesel merged 1 commit into
jhipster:mainfrom
jtkiesel:fix/update-tree-sitter-java-orchard

Conversation

@jtkiesel

Copy link
Copy Markdown
Contributor

What changed with this PR:

The tree-sitter-java-orchard grammar is updated to 0.5.10, which fixes a precedence issue between cast expression and update expression.

Example

Input

int a = (int) x++;
int b = (int) (x)--;

Output

int a = (int) x++;
int b = (int) x--;

Relative issues or prs:

Closes #987

@jtkiesel
jtkiesel merged commit 38374c9 into jhipster:main Jul 19, 2026
6 checks passed
@jtkiesel
jtkiesel deleted the fix/update-tree-sitter-java-orchard branch July 19, 2026 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[2.10.2] Parens inserted break cast expression in combination with increment

1 participant