Skip to content

Check exhaustiveness for int, str, ... -typed alts #1720

Closed
@catamorphism

Description

@catamorphism

The patch I just pushed only handles exhaustiveness for alts on enum-typed data. alts on ints or strings or such can still be non-exhaustive. Fix this. (Obviously this would require inserting an '_' case most of the time.)

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