E3031 Types Errors
Types
function '%s' cannot be used as a value; did you mean '%s()' or '()%s'?
When this occurs
This error is triggered when: function '%s' cannot be used as a value; did you mean '%s()' or '()%s'?
Example error message
error[E3031]:
function cannot be used as a value without calling it
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.