Skip to content

Named end-markers #511

@susliko

Description

@susliko

Commit of tree-sitter-scala you tested this on

a06047e

A code sample showing the error

class Foo:
  println("")
end Foo

Show the error node

There is no error node. But the grammar allows standalone end markers, not actually ending any definition, which is incorrect.

Image

What do you expect the tree to look like

No response

Where are you experiencing this error?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/scala3Scala 3 syntaxbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions