[dmd-beta] dmd 1.063 and 2.048 beta

David Simcha dsimcha at gmail.com
Mon Aug 9 06:57:48 PDT 2010


Wait a minute, I see what's going on.  Why did someone decide to nest 
the Filter struct inside the filter() function?  Should this just be 
changed back?

On 8/9/2010 9:20 AM, David Simcha wrote:
> I'm receiving a rather inscrutable compile time error on the following 
> test program:
>
> import std.stdio, std.algorithm, std.string;
>
> void main() {
>     auto file = filter!"a.length > 0"(
>         File("foo.txt").byLine()
>     );
> }
>
>
> Error: function std.algorithm.filter!("a.length > 
> 0").filter!(ByLine!(char,char)).filter cannot access frame of function 
> this
>
> I have no idea what this error message means, but I know I've never 
> seen it before.  AFAIK the only change to Filter since the last 
> release has been adding a save() method.
>
>
> On 8/9/2010 2:19 AM, 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