Fuzz test failing with "repetition quantifier expects a valid decimal"
eed3si9n opened this issue · comments
eugene yokota commented
Commit of tree-sitter-scala you tested this on
A code sample showing the error
n/a
Show the error node
https://github.com/tree-sitter/tree-sitter-scala/actions/runs/8224970088/job/22489610251
Caused by:
regex parse error:
u{[0-9a-fA-F]+}
^
error: repetition quantifier expects a valid decimal
What do you expect the tree to look like
No errors
Where are you experiencing this error?
No response
eugene yokota commented
There's an invalid regex in our character_literal parser, which we copied from tree-sitter-rust per the comment in #22 (comment), and tree-sitter-rust has also fixed it recently. The problem is that Scala doesn't really support curly brace, so I think the parser itself is invalid.