[dmd-beta] dmd 1.063 and 2.048 beta

Walter Bright walter at digitalmars.com
Tue Aug 10 16:09:13 PDT 2010


changeset 614

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
>


More information about the dmd-beta mailing list