Skip to content
This repository has been archived by the owner on Feb 28, 2018. It is now read-only.

Optional semicolons #117

Open
MaxGraey opened this issue Jun 15, 2017 · 1 comment
Open

Optional semicolons #117

MaxGraey opened this issue Jun 15, 2017 · 1 comment

Comments

@MaxGraey
Copy link
Contributor

MaxGraey commented Jun 15, 2017

How

var i: int32 = 0; i++
do {...} while (...)

But

for (var i: int32 = 0; i < 10; i++) {} // ok
for (var i: int32 = 0; i < 10; i++;) {} // SyntaxError

Now
Skipped semicolon cause to syntax error

@nidin
Copy link
Contributor

nidin commented Jun 16, 2017

I was thinking about it. it's on my list.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants