Return action out of place.

#2128   Compile-time error

Return action out of place.

Additional Information

The current 'X' action is not inside an internal function. definition.
    where X is one of RETURN, FAIL, or SUCCEED.
    or
The 'X' action is allowed only in SWITCH-returning functions.
    where X is FAIL or SUCCEED.