Skip to content

Parser gets stuck #392

@Moddus

Description

@Moddus

Commit of tree-sitter-scala you tested this on

70b4fe6

A code sample showing the error

Hi,

It looks like the the grammar on commit 70b4fe63c4 is causing an infinite loop e.g. running within tree-sitter-scala:

tree-sitter parse sample.scala --timeout 1000000

Please see attached the sample.scala:
sample.scala.txt

Could someone help explaining how this can be debugged?

Thanks for your time and suggestions

Show the error node

No error message as execution of tree-sitter is stuck.

What do you expect the tree to look like

No response

Where are you experiencing this error?

Running tree-sitter tool in CLI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions