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
Here the string followed by << is considered as a heredoc but this code evaluates to "testruby". When I add a space after the << I get the below tree which is what I'm looking for.
Did you check existing issues?
Tree-Sitter CLI Version, if relevant (output of
tree-sitter --version
)tree-sitter = "0.20.6", tree-sitter-ruby = "0.20.1"
Describe the bug
When using string concatenation without any spaces using
<<
operator it looks like it is mistaking it for a heredoc string.Steps To Reproduce/Bad Parse Tree
Using the ruby code
Generates the following tree
Here the string followed by
<<
is considered as a heredoc but this code evaluates to "testruby". When I add a space after the<<
I get the below tree which is what I'm looking for.for code
This is the tree
Expected Behavior/Parse Tree
Tree with spaces
This is the tree
Repro
No response
The text was updated successfully, but these errors were encountered: