[Issue 18115] [REG2.078-b1] case where && is not shortcut anymore in CTFE

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 2 20:50:01 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18115

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at dawg.eu

--- Comment #13 from Martin Nowak <code at dawg.eu> ---
(In reply to Basile B. from comment #12)
> Before closing, would it be possible to gag the error if the LHS evaluates
> to false ?

We ultimately dismissed short-circuit semantics outside of static if.

https://issues.dlang.org/show_bug.cgi?id=9073
https://github.com/dlang/dmd/pull/2559
https://github.com/dlang/dmd/pull/1325

--


More information about the Digitalmars-d-bugs mailing list