Skip to content

Document integer enum discriminators in the manual #15755

Closed
@mbrubeck

Description

@mbrubeck

The tutorial documents how to set the discriminator for a C-style enum (enum Foo { Bar = 123 }) and how to cast such an enum to a numeric type (Bar as uint). However, the language manual does not mention these features at all.

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