This is a known bug. If you add a comment in the last line the compiler will return a syntax error.