16841, “e-kayrakli”, “A full line like ‘a+b;’ should not be a syntax error”, “2020-12-09T23:00:04Z”
You can write
a; as a full line, and it parses fine. But
a+b; does not parse and causes a syntax error.
I don’t think there is any real reason why
a+b; shouldn’t be interpreted as a statement. And I think that the parser should be adjusted to handle that.