KS3007
A statement is in the wrong place. return only works inside fn, break and continue inside a loop, case inside match, and elif and else straight after the } of an if.
A statement is in the wrong place. return only works inside fn, break and continue inside a loop, case inside match, and elif and else straight after the } of an if.