Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More than two argument lists in extends #259

Open
susliko opened this issue May 28, 2023 · 0 comments
Open

More than two argument lists in extends #259

susliko opened this issue May 28, 2023 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@susliko
Copy link
Collaborator

susliko commented May 28, 2023

Commit of tree-sitter-scala you tested this on

374709c

A code sample showing the error

class A extends B(c)(d)(e)

Show the error node

(compilation_unit [0, 0] - [3, 0]
  (class_definition [0, 0] - [0, 26]
    name: (identifier [0, 6] - [0, 7])
    extend: (extends_clause [0, 8] - [0, 26]
      type: (type_identifier [0, 16] - [0, 17])
      arguments: (arguments [0, 17] - [0, 20]
        (identifier [0, 18] - [0, 19]))
      (ERROR [0, 20] - [0, 23]
        (arguments [0, 20] - [0, 23]
          (identifier [0, 21] - [0, 22])))
      (arguments [0, 23] - [0, 26]
        (identifier [0, 24] - [0, 25])))))

What do you expect the tree to look like

No response

Where are you experiencing this error?

TypeOps.scala

@susliko susliko added bug Something isn't working good first issue Good for newcomers labels Jun 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant