Skip to content

Conversation

@mjambon
Copy link
Contributor

@mjambon mjambon commented Sep 22, 2020

This should work with the latest tree-sitter-javascript as of today. The tests pass. I added just one test that combines types and optional chaining.

to: @maxbrunsfeld

(new_expression
(identifier)
(type_arguments (type_identifier))
(arguments)))))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just some reformatting and new test name.

"devDependencies": {
"tree-sitter-cli": "^0.16.9",
"tree-sitter-javascript": "tree-sitter/tree-sitter-javascript"
"tree-sitter-javascript": "github:tree-sitter/tree-sitter-javascript#3d54934"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what to do in terms of dependencies and versioning.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 This makes sense to me.

@aryx
Copy link
Contributor

aryx commented Sep 22, 2020

Fantastic! Can't wait to test this on our app code.

@maxbrunsfeld maxbrunsfeld merged commit 07a12bd into tree-sitter:master Sep 22, 2020
@mjambon mjambon deleted the compat2 branch September 22, 2020 19:46
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

Successfully merging this pull request may close these issues.

3 participants