8000 Prefixless use of enum variants? · Issue #1360 · Safe-DS/DSL · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Prefixless use of enum variants? #1360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
lars-reimann opened this issue Mar 9, 2025 · 0 comments
Open

Prefixless use of enum variants? #1360

lars-reimann opened this issue Mar 9, 2025 · 0 comments

Comments

@lars-reimann
Copy link
Member

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

@lars-reimann lars-reimann added this to DSL Mar 9, 2025
@lars-reimann lars-reimann changed the title Prefixless enums? Prefixless use of enum variants? Mar 9, 2025
@github-project-automation github-project-automation bot moved this to Backlog in DSL Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant
0