DMD 1.034 and 2.018 releases

Moritz Warning moritzwarning at web.de
Sat Aug 9 03:53:39 PDT 2008


On Fri, 08 Aug 2008 22:43:08 -0700, Walter Bright wrote:

> bearophile wrote:
>> Probably I am missing something important, I have tried this code with
>> the 1.034 (that compiles my large d libs fine), but I have found many
>> problems:
>> 
>> import std.stdio: putr = writefln;
>> 
>> void main() { int[] a1 = [1, 2, 3]; int[] a2 = [2, 4, 6];
>> 
>> //putr(a1[] + a2[]); // test.d(6): Error: Array operations not
>> implemented
> 
> It only works if the top level is an assignment operation.
> 
> 
[..]
> 
>> int[] a5 = [3, 5, 7, 9]; int[] a6 = a1 + a5; // test.d(16): Error:
>> Array operations not implemented
> 
> Doesn't work for initializers.
> 
> 
[..]

Looks like there is room for improvement.
It does put work on the programmers nerves when things doesn't work as 
expected. :)

Anyway - Good work!


More information about the Digitalmars-d-announce mailing list