Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

[WSL] && and || should short-circuit #113

Closed
litherum opened this issue Oct 13, 2018 · 2 comments
Closed

[WSL] && and || should short-circuit #113

litherum opened this issue Oct 13, 2018 · 2 comments

Comments

@litherum
Copy link
Contributor

Migrated from https://bugs.webkit.org/show_bug.cgi?id=186773:

At 2018-06-18T16:14:47Z, rmorisset@apple.com wrote:
In particular, the following code should not trap:

bool x = false;
if (false && (x = true))
    {}
if (x)
    trap;
@litherum
Copy link
Contributor Author

At 2018-07-20T18:15:26Z, tdenney@apple.com wrote:
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).

@litherum
Copy link
Contributor Author

At 2018-07-20T22:35:12Z, jer.noble@apple.com wrote:

*** This bug has been marked as a duplicate of bug 187779 ***

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant