that is bug?

Ali Çehreli acehreli at yahoo.com
Sat Apr 7 15:26:56 UTC 2018


On 04/07/2018 02:07 AM, sdvcn wrote:
>      string stt = "none";
>      true?writeln("AA"):writeln("BB");   ///Out:AA
>          true?stt="AA":stt="BB";    <<<<-----///Out:BB
>      writeln(stt);

It is a bug because the behavior does not match the spec:

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

Ali


More information about the Digitalmars-d mailing list