Skip to content

ZNTC0700: 'return' outside of function

‘return’ outside of function

Category: Parser: Statement/Control Flow

return 1;

Reproduce in Playground →

See the error message for cause and resolution.