You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read all the tree-sitter docs if it relates to using the parser
I have searched the existing issues of tree-sitter-php
Tree-Sitter CLI Version, if relevant (output of tree-sitter --version)
No response
Describe the bug
The fix introduced in 56f153e which adjusted the comment precedence incidentally broke comments inside other expressions (which there we no tests for).
Steps To Reproduce/Bad Parse Tree
n/a
Expected Behavior/Parse Tree
n/a
Repro
if (
true// this is a comment
|| false
) {}
The text was updated successfully, but these errors were encountered:
Did you check existing issues?
Tree-Sitter CLI Version, if relevant (output of
tree-sitter --version
)No response
Describe the bug
The fix introduced in 56f153e which adjusted the comment precedence incidentally broke comments inside other expressions (which there we no tests for).
Steps To Reproduce/Bad Parse Tree
n/a
Expected Behavior/Parse Tree
n/a
Repro
The text was updated successfully, but these errors were encountered: