Skip to content

panic: assertion failed: start.raw <= end.raw with unclosed forward reference #1611

@correctmost

Description

@correctmost

Summary

ty panics when checking this code:

a:'
error[panic]: Panicked at crates/ruff_python_ast/src/nodes.rs:1657:9 when checking `/tmp/foo.py`: `assertion failed: start.raw <= end.raw`

Version

ty 0.0.1-alpha.27

Metadata

Metadata

Assignees

No one assigned

    Labels

    fatala fatal error (panic or crash)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions