Open
Description
Commit of tree-sitter-scala you tested this on
A code sample showing the error
foo(args*)
Show the error node
(compilation_unit ; [0, 0] - [3, 0]
(call_expression ; [0, 0] - [0, 10]
function: (identifier) ; [0, 0] - [0, 3]
arguments: (arguments ; [0, 3] - [0, 10]
(postfix_expression ; [0, 4] - [0, 9]
(identifier) ; [0, 4] - [0, 8]
(operator_identifier))))) ; [0, 8] - [0, 9]
What do you expect the tree to look like
Should be similar to the tree of
foo(args:_*)
which is
(compilation_unit ; [0, 0] - [3, 0]
(call_expression ; [0, 0] - [0, 12]
function: (identifier) ; [0, 0] - [0, 3]
arguments: (arguments ; [0, 3] - [0, 12]
(ascription_expression ; [0, 4] - [0, 11]
(identifier) ; [0, 4] - [0, 8]
(repeated_parameter_type ; [0, 9] - [0, 11]
type: (wildcard)))))) ; [0, 9] - [0, 10]
Where are you experiencing this error?
nvim-treesitter