Skip to content

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