Bug 186775
| Summary: | [WSL] switch should require a terminal at the end of each case, with a 'fallthrough' keyword when needed | ||
|---|---|---|---|
| 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 | ||
Robin Morisset
As per our discussion with Phil.
Our definition of switch is already sufficiently far from C (for example we don't support Duff's device) that adding this requirement should be reasonable.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Myles C. Maxfield
*** Bug 188879 has been marked as a duplicate of this bug. ***
Myles C. Maxfield
Migrated to https://github.com/gpuweb/WHLSL/issues/111