tree-sitter / tree-sitter-julia

Julia grammar for Tree-sitter
MIT License
93 stars 32 forks source link

Error parsing splat variable with type #63

Closed gzagatti closed 1 year ago

gzagatti commented 1 year ago

Source:

function foo(bar::T...)
  bar
end

Playground:

ERROR [0, 0] - [2, 3]
  identifier [0, 9] - [0, 12]
  identifier [0, 13] - [0, 16]
  field_expression [0, 18] - [1, 4]
    identifier [0, 18] - [0, 19]
    ERROR [0, 20] - [0, 23]
    identifier [1, 1] - [1, 4]
  identifier [2, 0] - [2, 3]
gzagatti commented 1 year ago

Thanks!