dmd 1.062 and 2.047 release

bearophile bearophileHUGS at lycos.com
Mon Jun 14 09:49:20 PDT 2010


I am back.

>From the v2.047 changelog:
>std.conv: Added file and line information to conversion errors; added brackets '[' and ']' around arrays and associative arrays as defaults; added emplace() for non-class types.<

This program:

import std.stdio: writeln;
import std.conv: to;
void main() {
    int[] a = [1, 2, 3];
    writeln(to!string(a));
    writeln(a);
}


Prints:
[1 2 3]
1 2 3


But I think if they produce the same default output.

Like:
[1, 2, 3]
[1, 2, 3]

--------------------------

I have reopened bug 4109 and in the meantime Shin Fujishiro has closed it again. He looks efficient :-)

Bye,
bearophile


More information about the Digitalmars-d-announce mailing list