Skip to content
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

parseTextBufferSync crash when passing in an existing tree #60

Closed
dschwen opened this issue Mar 14, 2020 · 1 comment
Closed

parseTextBufferSync crash when passing in an existing tree #60

dschwen opened this issue Mar 14, 2020 · 1 comment

Comments

@dschwen
Copy link

dschwen commented Mar 14, 2020

    tree = parser.parseTextBufferSync(editor.getBuffer().buffer)
    newtree = parser.parseTextBufferSync(editor.getBuffer().buffer, tree)

crashes atom (The editor has crashed). Stepping into the second parseTextBufferSync call I see the crash happening on line 318 in index.js right when the call is executed:

  const tree = parseTextBufferSync.call(this, snapshot, oldTree, includedRanges);

P.S.: sorry for the issue blasting. I'm super excited about tree-sitter and I would prefer using the atom slack, but my invite request has ben unanswered for a few weeks

@verhovsky
Copy link
Collaborator

verhovsky commented Jun 24, 2023

Closing this as parseTextBuffer and parseTextBufferSync were removed in #141 because superstring and Atom have been sunset.

@verhovsky verhovsky closed this as not planned Won't fix, can't repro, duplicate, stale Jun 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants