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
setTimeoutMicros
doesn't appear to work in the latest versions of web-tree-sitter
#3341
Comments
alexr00
changed the title
May 6, 2024
setTimeoutMicros
doesn't appear to work in the latest versionssetTimeoutMicros
doesn't appear to work in the latest versions of web-tree-sitter
Is this also an issue in Node or Rust? |
The node bindings are on version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
The last version where
setTimeoutMicros
works in theweb-tree-sitter
package is0.22.2
. I've tested with version0.22.3
-0.22.6
and none of them seem to respect the timeout set bysetTimeoutMicros
Steps to reproduce
Here's an example. When I run it with
0.22.2
, I can see that several rounds are run (for my samplesource
it's 19), but newer versions I only see 1 round get run.Expected behavior
The timeout set with
setTimeoutMicros
is respected.Tree-sitter version (tree-sitter --version)
0.22.6
Operating system/version
Windows 11
The text was updated successfully, but these errors were encountered: