Bug 186773 - [WSL] && and || should short-circuit
Summary: [WSL] && and || should short-circuit
Status: RESOLVED DUPLICATE of bug 187779
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGPU (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Blocks: 176199
  Show dependency treegraph
Reported: 2018-06-18 09:14 PDT by Robin Morisset
Modified: 2018-10-13 15:48 PDT (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Robin Morisset 2018-06-18 09:14:47 PDT
In particular, the following code should not trap:
bool x = false;
if (false && (x = true))
if (x)
Comment 1 Thomas Denney 2018-07-20 11:15:26 PDT
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).
Comment 2 Jer Noble 2018-07-20 15:35:12 PDT

*** This bug has been marked as a duplicate of bug 187779 ***
Comment 3 Myles C. Maxfield 2018-10-13 15:48:36 PDT
Migrated to https://github.com/gpuweb/WHLSL/issues/113