Skip to content

Enums with string values return the enum key instead #115

Description

@justinrusso

Given this enum:

publicenumStage{Colorless="colorless",Red="red",Green="green",Lime="lime",Blue="blue",LightBlue="light_blue",Gray="gray",LightGray="light_gray",Yellow="yellow",Purple="purple",Magenta="magenta",Pink="pink",White="white",Black="black",Brown="brown",Cyan="cyan",Orange="orange";}

Attempting to use Stage.LightBlue results in a value of lightblue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions