E2011 Syntax Errors
Syntax
constant '%s' must have a value; add = followed by a value
When this occurs
`const x int` without value
Example error message
error[E2011]:
const 'x' must be initialized with a value
How to fix
Constants must be initialized. Add `= value` to your const declaration.
Related errors
No related errors.