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
Describe the bug
Enums are currently return true for is_numerical but do not actually support numeric operations
They cannot be compared with each other or other ints.
When trying to use a comparison function for an Enum rusty will currently fail on get_rank
If a rank is provided it fails with the error: Cannot cast from <enum> to REAL
The text was updated successfully, but these errors were encountered:
* allow datatype & initilaization for enums
myEnum : INT (a:=3, b, c, d:= 77, e, f);
* make enums comparable and castable
fixes#390
* Enum value resolution
* pre-proc creates expl assignments for enums elements
enum elements get explicit assignments so we can safely assume
an Assignment-Statement with an initial value for every
enum element.
* improvements, renames and small refactorings
Describe the bug
Enums are currently return true for
is_numerical
but do not actually support numeric operationsThey cannot be compared with each other or other ints.
When trying to use a comparison function for an Enum rusty will currently fail on
get_rank
If a rank is provided it fails with the error:
Cannot cast from <enum> to REAL
The text was updated successfully, but these errors were encountered: