tree-sitter-java
tree-sitter-java copied to clipboard
Fix parsing of array and object creation with annotations
Checklist:
- [ ] All tests pass in CI.
- [ ] There are sufficient tests for the new fix/feature.
- [x] Grammar rules have not been renamed unless absolutely necessary.
- [x] The conflicts section hasn't grown too much.
- [ ] The parser size hasn't grown too much (check the value of STATE_COUNT in src/parser.c).
https://docs.oracle.com/javase/tutorial/java/annotations/basics.html