Summary: | [WSL] "do while" should require a ';' at the end for similarity with C-like languages | ||
---|---|---|---|
Product: | WebKit | Reporter: | Robin Morisset <rmorisset> |
Component: | WebGPU | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED MOVED | ||
Severity: | Normal | CC: | mmaxfield |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 176199 |
Description
Robin Morisset
2018-05-29 17:01:52 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? Migrated to https://github.com/gpuweb/WHLSL/issues/118 |