Thread overview
Re: dmd 1.063 and 2.048 release
Aug 11, 2010
bearophile
Aug 12, 2010
bearophile
Aug 12, 2010
Mafi
August 11, 2010
All the bugs reported by me present in the list of the bug fixed in this release look indeed fixed, and I have closed the ones that were open still (3961).


With 2.048beta I have found two bugs (4603 and 4604) that are present in 2.048 too (Walter has asked me to test the betas too, and I am now doing it).


I want to draw some attention to two related Phobos2 problems, I have updated a bug report and I have added one new, 3813 and 4605. Hopefully bug http://d.puremagic.com/issues/show_bug.cgi?id=3813 explains the situation well.
I'd also like people to vote for this, comment about this, become vocal about this silly situation. I don't want to manage my own Phobos2 version just to keep a patch for this couple of problems. Thank you very much.


Regarding bug 4077 ("Bugs caused by bitwise operator precedence") I want to thank Stewart Gordon for finding a possible solution, Don for writing a first implementation and coordinating it, and Walter for all the remaining things. I hope such fortunate combination of events will happen again regarding some other minor but significant issues in the D2 language :-)

Bye,
bearophile
August 12, 2010
> I have updated a bug report and I have added one new, 3813 and 4605

If someone here thinks that AA printing is 'good enough', such person has to try to print a int[int[int]], like:

import std.stdio;
void main() {
    int[int[int]] aa;
    aa[[5:6, 7:8]] = 2;
    writeln(aa);
}


The output is:
5:6 7:8:2

Bye,
bearophile
August 12, 2010
Am 12.08.2010 03:52, schrieb bearophile:
>> I have updated a bug report and I have added one new, 3813 and 4605
>
> If someone here thinks that AA printing is 'good enough', such person has to try to print a int[int[int]], like:
>
> import std.stdio;
> void main() {
>      int[int[int]] aa;
>      aa[[5:6, 7:8]] = 2;
>      writeln(aa);
> }
>
>
> The output is:
> 5:6 7:8:2
>
> Bye,
> bearophile
Theoretically this output is perfectly fine. I just needs some brackets: [[5:6, 7:8]:2]. I think dynamic arrays are allready printed like that.