E2019 Parse Errors

nested-function

function inside function not allowed

When this occurs

Function declared inside another function

Example error message

error[E2019]: function declarations are not allowed inside functions

How to fix

Move the inner function outside of the outer function. EZ does not allow nested function definitions.

Related errors

No related errors.