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