This is very common due to vscode copilot incorrectly predicting the new control flow syntax.
TLDR: make sure @ is added prior to the flow keyword, in my case, the else keyword
@
else