You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 toliteral
.Possible alternatives (optional)
We may support both
const
(must evaluate to a constant) andliteral
(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
The text was updated successfully, but these errors were encountered: