Skip to content

bug: Infinite loop in nested do block #162

@simonmandlik

Description

@simonmandlik

Did you check existing issues?

  • I have read all the tree-sitter docs if it relates to using the parser
  • I have searched the existing issues of tree-sitter-julia

Tree-Sitter CLI Version, if relevant (output of tree-sitter --version)

No response

Describe the bug

Possibly related to #143

The following buffer in neovim falls into infinite recursion upon writing the last "o".

Steps To Reproduce/Bad Parse Tree

f() do
    f() do

Repro

tree-sitter: 0.24.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions