dmd 2.029 release
Russell Lewis
webmaster at villagersonline.com
Sun Apr 19 23:31:05 PDT 2009
Walter Bright wrote:
> tama wrote:
>> I tested following code.
>>
>> writefln(3 * 4);
>>
>> This code doesn't work in the first place:-<
>
> Yes, that's one of the breaking changes in the new phobos2. writefln
> expects its first argument to be a format string.
>
> If it isn't, use writeln instead.
I just hit the same breakage. :(
Since the compiler can detect this situation statically, shouldn't
Phobos just statically redirect the call to writeln() ?
More information about the Digitalmars-d-announce
mailing list