-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
tree-sitter undefined symbol: _ZN2v812BackingStore12EmptyDeleterEPvmS1_ #4188
Comments
Also in 0.8.0 canary. Maybe related, seems it hasn't been published in a while: tree-sitter/tree-sitter-typescript#259 |
ping? |
this is one of 2+ blocking reasons we cant use bun :( |
As a core tree-sitter member, I also get this error. I am excited to try out using bun with tree-sitter, but I'm not that experienced in nodejs/js/ts/bun as I am in rust/c/c++ It is not an issue in tree-sitter-typescript, that's just a grammar repo. Gonna tack on that iirc bun does not play super well with v8-specific stuff, that could be the issue, I can provide anything to help debug this anyways |
Looking at the symbol, I can see |
btw, i would love to help get this resolved. i know that in the short term, bun has no intention to implement the |
There is a plan to rewrite node-tree-sitter's binding using napi instead of nan, but that's a large-scale effort that has to be propagated upstream for downstream grammars will need to regenerate their bindings to leverage napi as well. |
do you have an issue you can link to? wondering what the downstream grammar impacts are? |
relevant pr tree-sitter/node-tree-sitter#52 |
currently getting
so im currently unable to reproduce the crash but if i edit the file to only have |
What version of Bun is running?
0.7.4
What platform is your computer?
Linux 6.4.10-zen2-1-zen x86_64 unknown
What steps can reproduce the bug?
Create empty project, install both
tree-sitter
andtree-sitter-javascript
withnpm
type this into index.ts
run the file
What is the expected behavior?
When executed with node on index.cjs
(program (lexical_declaration (variable_declarator name: (identifier) value: (number))) (expression_statement (call_expression function: (member_expression object: (identifier) property: (p roperty_identifier)) arguments: (arguments (identifier)))))
What do you see instead?
Additional information
No response
The text was updated successfully, but these errors were encountered: