tree-sitter-julia icon indicating copy to clipboard operation
tree-sitter-julia copied to clipboard

empty anonymous function not properly parsed

Open FelipeLema opened this issue 3 years ago • 0 comments

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

FelipeLema avatar Aug 31 '20 19:08 FelipeLema