We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
tree-sitter --version
tree-sitter 0.24.6
When running the tsx parser on input such as the following:
<div style={{ textAlign:>Note: This is important. (And this)</div>
The parser never completes or fails, it seemingly loops forever.
I have successfully reproduced the issue on 8e13e1d.
The most basic reproduce case that I could find is:
<a {{b:>c:d(e f)
If you attempt to parse this code with the tsx parser, it will loop forever.
git clone https://github.com/tree-sitter/tree-sitter-typescript cd tree-sitter-typescript/tsx echo "<a {{b:>c:d(e f)" > poc.tsx tree-sitter parse -d poc.tsx
The expected behavior should be a proper parsing failure response.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Did you check existing issues?
Tree-Sitter CLI Version, if relevant (output of
tree-sitter --version
)tree-sitter 0.24.6
Describe the bug
When running the tsx parser on input such as the following:
The parser never completes or fails, it seemingly loops forever.
I have successfully reproduced the issue on 8e13e1d.
Steps To Reproduce/Bad Parse Tree
The most basic reproduce case that I could find is:
If you attempt to parse this code with the tsx parser, it will loop forever.
Expected Behavior/Parse Tree
The expected behavior should be a proper parsing failure response.
Repro
The text was updated successfully, but these errors were encountered: