dmd 1.065 and 2.050 release
bearophile
bearophileHUGS at lycos.com
Fri Oct 29 17:44:10 PDT 2010
Thank you and the other people for the release.
------------------
>From the changelog:
> added talign() and argTypes() to TypeInfo
But in this page I am seeing info only about talign():
http://www.digitalmars.com/d/2.0/phobos/object.html#talign
size_t talign(); Return alignment of type
What is argTypes()? Is it explained elsewhere in the docs?
------------------
> Bugzilla 4987: C function pointer syntax needs to be deprecated
The situation for this bug is unchanged:
http://d.puremagic.com/issues/show_bug.cgi?id=4530
-----------------
> Added relaxed purity checking rules.
Very good. I hope Phobos will be updated to use that improvement, examples:
http://d.puremagic.com/issues/show_bug.cgi?id=5121
http://d.puremagic.com/issues/show_bug.cgi?id=5124
-----------------
> Bugzilla 2310: Inconsistent formatting of arrays in std.stdio.write() and std.conv.to!(string)()
Good. But it's silly that two so different arrays have the same textual representation:
import std.stdio;
void main() {
auto a = ["1", "2", "3"];
auto b = [1, 2, 3];
writeln(a); // prints [1, 2, 3]
writeln(b); // prints [1, 2, 3]
}
For the first array a textual representation like this is better because you can tell apart strings and integers from the printout:
["1", "2", "3"]
This problem is the one that originally made me start putting bug reports in Bugzilla, it's my the first bug report and I regard it as important enough:
http://d.puremagic.com/issues/show_bug.cgi?id=3813
Bye,
bearophile
More information about the Digitalmars-d-announce
mailing list