[dmd-beta] dmd 1.063 and 2.048 beta

Andrei Alexandrescu andrei at erdani.com
Thu Sep 16 23:24:00 PDT 2010


Did you fix this in the meantime? It seems to work now.

Andrei

On 8/10/10 8:21 CDT, David Simcha wrote:
> Unfortunately I've found one other problem related to the Filter struct
> being nested inside filter():
>
> import std.algorithm;
>
> void main() {
> auto arr = [1,2,3,4,5];
> auto m = map!"a + 1"(filter!"a < 4"(arr));
> }
>
> d:\dmd2\windows\bin\..\..\src\phobos\std\algorithm.d(114): Error: struct
> std.algorithm.Map!(result,Filter).Map inner struct Filter cannot be a field
>
> On 8/10/2010 6:44 AM, Walter Bright wrote:
>> New D2 version to fix bug with filter posted.
>>
>> Walter Bright wrote:
>>>
>>> http://ftp.digitalmars.com/dmd1beta.zip
>>> http://ftp.digitalmars.com/dmd2beta.zip
>>>
>> _______________________________________________
>> dmd-beta mailing list
>> dmd-beta at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>>
>
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta


More information about the dmd-beta mailing list