Skip to content

Prefixless use of enum variants? #1360

@lars-reimann

Description

@lars-reimann

Is your feature request related to a problem?

Using enum variants can be quite verbose, since the enum name must always be used as a prefix.

Desired solution

Consider whether the enum name can be omitted. Ideally, this would also work inside of list literals, like when specifying impurity reasons using the Impure annotation.

Possible alternatives (optional)

No response

Screenshots (optional)

No response

Additional Context (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions