| Summary: | [WSL] && and || should short-circuit | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Robin Morisset <rmorisset> |
| Component: | WebGPU | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | jer.noble, tdenney |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 176199 | ||
This is resolved by https://bugs.webkit.org/show_bug.cgi?id=187779 (I didn't realize that there was an existing bug for this). *** This bug has been marked as a duplicate of bug 187779 *** Migrated to https://github.com/gpuweb/WHLSL/issues/113 |
In particular, the following code should not trap: ``` bool x = false; if (false && (x = true)) {} if (x) trap; ```