Why are unmatched array dimensions valid? #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I am working on a tree traversal library for lezer/java and found this definition which was a bit strange for me:
This leads me to my question: Why is
int[]]a valid syntax in this grammar? Is this intended?Here's a valid syntax tree parsed by this grammar:
(Definition of "Dims" in the official Java 16 documentation)
The
+was accidentally left when I changed that rule ind9d55157. Attached patch drops it.