Skip to content

Add optional chaining to delimiters #150

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

Merged
merged 3 commits into from
Feb 6, 2021
Merged

Add optional chaining to delimiters #150

merged 3 commits into from
Feb 6, 2021

Conversation

icecream17
Copy link
Contributor

Optional chaining and ...regular chaining should be in the same category

A very unimportant pull request huh.
It's in the same category as the regular .
icecream17 added a commit to icecream17/language-javascript that referenced this pull request Feb 6, 2021
This is a visual commit.
Really it's about precedence, how specific the selectors are. Since they're the same it should work no matter what.

The reason ?. isn't detected is because of the parser itself.

See https://github.com/jcs-PR/tree-sitter-javascript/pull/1/files and tree-sitter/tree-sitter-javascript#150
@maxbrunsfeld maxbrunsfeld merged commit ec09a0e into tree-sitter:master Feb 6, 2021
@maxbrunsfeld
Copy link
Contributor

Thanks!

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.

2 participants