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
Currently only integer_literals are allowed in a state colour declaration. Adding support for expressions, and more importantly, restricting these needs to be done.
The text was updated successfully, but these errors were encountered:
I think it would be best if we limited expressions in the colors to things that can be computed at compile time. Loop and functions should probably be forbidden since we can't always determine if they will terminate. Functions could enter an infinite loop through recursion.
We could check for the presence of certain nodes in the color expression by running a custom sanity checking visitor on the color expression subtree.
Currently only
integer_literals
are allowed in a state colour declaration. Adding support for expressions, and more importantly, restricting these needs to be done.The text was updated successfully, but these errors were encountered: