tree-sitter-julia
tree-sitter-julia copied to clipboard
empty anonymous function not properly parsed
Input
Channel(
c->begin # some comment
end)
Output
((source_file
(call_expression
(identifier)
(argument_list
(function_expression
(identifier)
(compound_expression
(comment)
(identifier)
(MISSING "end"))))))
. 156)
If I add anything to the body (say a single line with 1
in it), then it is properly parsed