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
Alias not queriable #3331
Comments
might be similar to #2641, don't remember exactly |
thanks for the report; I thought this was handled |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
I've defined an alias here: https://github.com/JoranHonig/tree-sitter-solidity/blob/master/grammar.js#L791
I'd expect to be able to query for binary_operator nodes as such:
Steps to reproduce
git clone [email protected]:JoranHonig/tree-sitter-solidity.git
tree-sitter generate
cat " (binary_operator) @operator" > example.scm
touch sample.sol
tree-sitter-query example.scm sample.sol
Expected behavior
No query error
Tree-sitter version (tree-sitter --version)
tree-sitter 0.22.4
Operating system/version
=
The text was updated successfully, but these errors were encountered: