Skip to content

Panic on match statement execution #5554

Closed

Description

@arihant2math
class JsonFileType:
    UNIX_FD = "UNIX_FD"
    WINDOWS_HANDLE = "WINDOWS_HANDLE"
    STDOUT = "STDOUT"
# ... some match statement with JsonFileType
thread 'main' panicked at compiler\codegen\src\compile.rs:511:13:
The symbol 'JsonFileType' must be present in the symbol table, even when it is undefined in python.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Activity

  1. changed the title [-]Panic on enum declaration[/-] [+]Panic on match statement execution[/+] on Feb 26, 2025
  2. arihant2math commented on Mar 30, 2025

    @arihant2math
    ContributorAuthor

    Fixed with #5628

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions