Skip to content

Switch warnings no longer work #2572

Closed
@kripken

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?

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