tree-sitter / tree-sitter-scala

Scala grammar for tree-sitter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERROR on parsing `HkTypeParamClause ‘=>>’ Type`.

KaranAhlawat opened this issue · comments

Commit of tree-sitter-scala you tested this on

a5c4c29

A code sample showing the error

class X extends Y[
  [A <: B] =>> C,
] {}

Show the error node

(class_definition class body: (identifier)
 (extends_clause extends
  arguments: 
   (generic_type type: (type_identifier)
    type_arguments: 
     (type_arguments [
      (ERROR [)
      (infix_type left: (type_identifier) operator: (operator_identifier)
                  right: (type_identifier))
      (ERROR ] = > >)
      ])))
 (template_body { }))

What do you expect the tree to look like

No response

Where are you experiencing this error?

treesit (GNU Emacs 29+)

@KaranAhlawat Thanks for reporting!

Fixed in #312. Closing.