tree-sitter-julia
tree-sitter-julia copied to clipboard
`|>` (pipe operator)
The following code is not correctly parsed when I use emacs-tree-sitter on it
foo() |>
bar |>
baz
qux
It prints the following:
(source_file (ERROR (call_expression (identifier) (argument_list)) (UNEXPECTED '\n') (identifier) (UNEXPECTED '\n')) (identifier) (identifier))
This seems to be fixed.
source_file [0, 0] - [4, 0]
binary_expression [0, 0] - [2, 7]
binary_expression [0, 0] - [1, 7]
call_expression [0, 0] - [0, 5]
identifier [0, 0] - [0, 3]
argument_list [0, 3] - [0, 5]
operator [0, 6] - [0, 8]
identifier [1, 4] - [1, 7]
operator [1, 8] - [1, 10]
identifier [2, 4] - [2, 7]
identifier [3, 0] - [3, 3]
oh, goodie... can we add this expression as a test?
thank you!