Support `derives` clause with traits
ghostbuster91 opened this issue · comments
Kasper Kondzielski commented
Commit of tree-sitter-scala you tested this on
A code sample showing the error
trait MyTrait derives A {
}
Show the error node
trait_definition [128, 0] - [129, 1]
name: identifier [128, 6] - [128, 16]
ERROR [128, 17] - [128, 29]
body: template_body [128, 30] - [129, 1]
What do you expect the tree to look like
(trait_definition
(identifier)
(derives_clause
(type_identifier))
(template_body)
)
Where are you experiencing this error?
nvim-treesitter
eugene yokota commented
@ghostbuster91 Thanks for the report!