Skip to content

Assertion analysis.final_step_indices.size > 0 failed #1088

@alex-s168

Description

@alex-s168

Assertion analysis.final_step_indices.size > 0 failed

When adding this to the queries file, it throws an assertion error.
without it, everything works as expected

Steps to reproduce:

git clone https://gitea.vxcc.dev/alexander.nutz/beginner-friendly-lang.git
git switch topiary-bug-repro
cd tree-sitter
make
topiary fmt --configuration topiary-crepuscular.ncl -l crepuscular -q queries/topiary.scm --skip-idempotence  < example.crr

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