Skip to content

define enums explicitly, particularly starting ordinal #119

Description

@codefromthecrypt

There are some enums that start negative, for example debug logging level is -1 and the rest start after that. other enums start at zero (ex errnosuccess in old wasi), others at 1. It would be nice to both have enum handling documented precisely, and also allow adjustment of the start ordinal similar to iota in go.

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