Skip to content

Proposal: Enums #15

@CertainLach

Description

@CertainLach

Simple 1<=>1 enum mapping

Makes output code much easier to use

enum("a", type: ::u8)=>{ # Incorrect code, idents can't appear in Item
     value("A") => "3",
     value("B") => "4"
}

Needs to be done:

  • allowing idents to appear in items
  • enum item

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