WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED MOVED
186073
[WSL] "do while" should require a ';' at the end for similarity with C-like languages
https://bugs.webkit.org/show_bug.cgi?id=186073
Summary
[WSL] "do while" should require a ';' at the end for similarity with C-like l...
Robin Morisset
Reported
2018-05-29 17:01:52 PDT
e.g. int f() { int x; x = 42; do x += 3; while (false) return x; } should be refused.
Attachments
Add attachment
proposed patch, testcase, etc.
Myles C. Maxfield
Comment 1
2018-08-15 22:56:04 PDT
(In reply to Robin Morisset from
comment #0
)
> e.g. > int f() { > int x; > x = 42; > do > x += 3; > while (false) > return x; > } > should be refused.
What's the reason for this? Why not make it optional?
Myles C. Maxfield
Comment 2
2018-10-13 15:53:48 PDT
Migrated to
https://github.com/gpuweb/WHLSL/issues/118
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug