This fails to parse:
if (1)
return 1;
else
return 0;
Oh really? What does it say?
Oh really? What does it say?
Unexpected else. (I鈥檓 on my phone so can鈥檛 paste the exact error)
Syntax Error: Unexpected token Else. Expected statement (line: 3, column: 1)
Btw this _does_ parse & run correctly without semicolons:
if (1)
return 1
else
return 0
as well as
if (1)
return 1
else
return 0;
Yeah this broke with the semicolon insertion changes.
I'll have a look. I bet it's something silly.
Most helpful comment
I'll have a look. I bet it's something silly.