Skip to content

panic: Tried to use uncalculated class infos #290

@correctmost

Description

@correctmost

zuban check crashes when checking this fuzzed code:

@f
class C:
    C

@f
def f(C: C):
    with C:
        pass
thread 'main' panicked at crates/zuban_python/src/file/type_computation/class.rs:143:32:
Tried to use uncalculated class infos for C

Version info

3963508

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