Skip to content

panic: 'entered unreachable code: This should never happen' in find_point_resolution #206

@correctmost

Description

@correctmost

zuban crashes when checking this fuzzed code:

C
try:
    class C:
        pass
Panic context:
> /home/user/b.py

thread 'main' (3085682) panicked at crates/zuban_python/src/file/name_resolution.rs:498:25:
internal error: entered unreachable code: This should never happen b(14):#3

#189 (comment) mentioned the same panic, but I'm not sure if it had the same root cause.

Version info

1adc194

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