E3124 Types Errors
Types
operator '%s' is not defined for tagged enum '%s'; tagged enums carry payloads and cannot be compared with == or !=
When this occurs
This error is triggered when: operator '%s' is not defined for tagged enum '%s'; tagged enums carry payloads and cannot be compared with == or !=
Example error message
error[E3124]:
operator '%s' is not defined for tagged enum '%s'; tagged enums carry payloads and cannot be compared with == or !=
How to fix
Review the error message and check your code at the indicated location. The message describes what went wrong — fix the underlying issue it identifies.
Related errors
No related errors.