-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Annotations with commas cause errors #151
Comments
Something like this might fix it: // https://kotlinlang.org/spec/syntax-and-grammar.html#grammar-rule-collectionLiteral
collection_literal: $ => seq(
"[",
$._expression,
repeat(seq(",", $._expression)),
optional(","),
"]"), |
reddaly
added a commit
to reddaly/tree-sitter-kotlin
that referenced
this issue
Oct 8, 2024
reddaly
added a commit
to reddaly/tree-sitter-kotlin
that referenced
this issue
Oct 8, 2024
reddaly
added a commit
to reddaly/go-tree-sitter
that referenced
this issue
Oct 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example test case that fails:
The text was updated successfully, but these errors were encountered: