Skip to content

Allow retrieving text representation of enum literal #88

@iTob191

Description

@iTob191

Currently, it is not possible to convert an enum literal from the source model into its string representation.

Possible solutions

Property

attr = it.enumAttr.name

(Extension) Function

attr = it.enumAttr.toString()

Via Type Cast

attr: EString = it.enumAttr

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionFeature requires additional discussion before its implementationfrontendSomething with the frontendlanguageChanges to the language (grammar or semantics)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions