[dmd-beta] dmd 1.063 and 2.048 beta

David Simcha dsimcha at gmail.com
Tue Aug 10 06:21:12 PDT 2010


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
>



More information about the dmd-beta mailing list