Skip to content
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

Change keyword const to literal #1270

Open
lars-reimann opened this issue Nov 24, 2024 · 0 comments
Open

Change keyword const to literal #1270

lars-reimann opened this issue Nov 24, 2024 · 0 comments
Labels
enhancement 💡 New feature or request

Comments

@lars-reimann
Copy link
Member

lars-reimann commented Nov 24, 2024

Is your feature request related to a problem?

const parameters accept only literals. const may imply that any expression that can be evaluated statically to a constant can be used.

Desired solution

Change the const keyword to literal.

Possible alternatives (optional)

We may support both const (must evaluate to a constant) and literal (must be literal) modifiers. The first one is a requirement for constraints. The second one is a requirement for the sidebar in the graphical editor.

Only one of these modifiers can be used on a parameter.

Screenshots (optional)

No response

Additional Context (optional)

No response

@lars-reimann lars-reimann added the enhancement 💡 New feature or request label Nov 24, 2024
@lars-reimann lars-reimann added this to DSL Nov 24, 2024
@github-project-automation github-project-automation bot moved this to Backlog in DSL Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 💡 New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant