Skip to content
This repository was archived by the owner on Aug 2, 2023. It is now read-only.
This repository was archived by the owner on Aug 2, 2023. It is now read-only.

UnstableEnum #8

@Knight-Ops

Description

@Knight-Ops

What is the purpose is this type? It seems to always cast the variant to Invalid as well as just punting on mutation to the primitive value within the original variants.

In the example, the mutator does not only mutate between the provided variants, it passes a u32 to mutate and wraps the result in UnstableEnum::Invalid(u32). Which isn't what I would expect from an Enum mutation except for maybe very rarely (like ignoring tags).

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