tree-sitter-scala
tree-sitter-scala copied to clipboard
Type projections
Type projections are currently parsed as infix_types. I think something like the following might be better.
==================================
Type projections
==================================
class A {
class B
}
type C = A#B
---
(compilation_unit
(class_definition
(identifier)
(template_body (
class_definition (identifier))))
(type_definition
(type_identifier)
(type_projection (type_identifier) (type_identifier))))