Skip to content

Switch warnings no longer work #2572

Description

@kripken

See discussion in #2451 (comment)

IIUC the issue is that we cast those class instances to an int, and the warnings don't work for ints.

Maybe there's another way? Or, if we don't want these warnings anymore, perhaps we can remove unnecessary cases from switches?

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions