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

Nick Treleaven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |DUPLICATE

--- Comment #8 from Nick Treleaven <[email protected]> ---
(In reply to ag0aep6g from comment #1)
>     int b = 1, c = 1;
>     1 ? b : c = 0;

The quoted code is now deprecated:

Deprecation: `1 ? b : c` must be surrounded by parentheses when next to
operator `=`

*** This issue has been marked as a duplicate of issue 18743 ***

--

Reply via email to