Expected behaviour
When you write a function file, and one of its line has an unfinished "execute" command (execute <any conditions> run), the file should fail and should not be able to use it.
Actual behaviour
The function file continue working, skipping the unfinished command.
[media][media][media]
Related to MC-165773, but not a duplicate. It seems trying to run
/execute run
without subsequent command fails in chat and in command blocks.