E2026 Parse Errors
invalid-enum-type
enum type must be primitive
When this occurs
`enum Status : CustomType`
Example error message
error[E2026]:
enum type attributes must be primitive types (int, float, or string), got 'Custom'
How to fix
Enum base types must be primitive: `int`, `float`, or `string`.
Related errors
No related errors.