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
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta


_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta

Reply via email to