E2059 Syntax Errors
Syntax
empty when block; add at least one 'is' branch
When this occurs
This error is triggered when: empty when block; add at least one 'is' branch
Example error message
error[E2059]:
empty when block; add at least one 'is' branch
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.