WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED MOVED
186072
[WSL] It should be possible to chain comma operators
https://bugs.webkit.org/show_bug.cgi?id=186072
Summary
[WSL] It should be possible to chain comma operators
Robin Morisset
Reported
2018-05-29 16:48:18 PDT
int f() { int x; x = 42; x *= 2, x += 1, x *= 3; return x; } fails with a parser error, yet works if either of the ',' operator are replaced by a ';'. It should be accepted, there is no reason for chained comma operators to be refused.
Attachments
Add attachment
proposed patch, testcase, etc.
Myles C. Maxfield
Comment 1
2018-10-13 15:54:50 PDT
Migrated to
https://github.com/gpuweb/WHLSL/issues/119
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