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
There's an example of line continuations in the LuaCATS Annotations page that this parser doesn't currently handle. It's under @alias's examples, here: https://luals.github.io/wiki/annotations/#alias
---@aliasDeviceSide---| '"left"' # The left side of the device---| '"right"' # The right side of the device---| '"top"' # The top side of the device---| '"bottom"' # The bottom side of the device---| '"front"' # The front side of the device---| '"back"' # The back side of the device
This same tree parses as expected with llscheck, which further leads me to believe it's a bug.
Steps To Reproduce/Bad Parse Tree
Make a file with
@alias DeviceSide
| '"left"' # The left side of the device
| '"right"' # The right side of the device
| '"top"' # The top side of the device
| '"bottom"' # The bottom side of the device
| '"front"' # The front side of the device
| '"back"' # The back side of the device
Did you check existing issues?
Tree-Sitter CLI Version, if relevant (output of
tree-sitter --version
)tree-sitter 0.22.5
Describe the bug
Possibly related to - #12
There's an example of line continuations in the LuaCATS Annotations page that this parser doesn't currently handle. It's under
@alias
's examples, here: https://luals.github.io/wiki/annotations/#aliasThis same tree parses as expected with
llscheck
, which further leads me to believe it's a bug.Steps To Reproduce/Bad Parse Tree
Make a file with
Then run
tree-sitter parse that_file.lua
Errors with
Expected Behavior/Parse Tree
or something similar
Repro
tree-sitter parse that_file.lua
The text was updated successfully, but these errors were encountered: