Closed eaftan closed 2 years ago
Once https://github.com/tree-sitter/tree-sitter-javascript/pull/187 gets merged in the JS repo, fixing this might be a matter of updating the tree-sitter-javascript dependency.
[obj.a] = foo();
is parsed without errors in the playground
@mjambon I think this can be closed
oh yes, that's great. It looks like it may have been fixed by https://github.com/tree-sitter/tree-sitter-javascript/pull/187
The following code
is parsed as
Note the
MISSING !
error node. This may be related to https://github.com/tree-sitter/tree-sitter-javascript/issues/178, though theMISSING !
error here is specific to TypeScript. In JavaScript, there is anERROR
node in the parse tree.