Skip to content

panic for incomplete except block #2401

@carljm

Description

@carljm

@AlexWaygood saw a similar panic while typing in an except block.

Yes, I also encountered that this panic, and is consistently reproducible in an except block.

Minimal reproduction:

try:
    print()
except # Trigger completion/hover here

Error: panicked at crates/ty_python_semantic/src/semantic_model.rs:576:1 no entry found for keyquery stacktrace

Hope this helps!

Originally posted by @nemowang2003 in #2317

Metadata

Metadata

Assignees

Labels

fatala fatal error (panic or crash)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions