[dmd-beta] dmd 1.063 and 2.048 beta

Walter Bright walter at digitalmars.com
Tue Aug 10 00:18:10 PDT 2010


Can you please revert the change? I thought we were good by passing the 
unit tests.

Andrei Alexandrescu wrote:
> I think that shouldn't be changed back; it is one of the first 
> applications of a useful idiom.
>
> The compiler bugs and limitations making that example uncompilable 
> should be addressed.
>
> Walter, could you please take a look and assess the situation? We 
> discussed the matter briefly on the phone and you agreed that the code 
> is correct.
>
>
> Andrei
>
> David Simcha wrote:
>> 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
>>>>
>>>
>>
>> _______________________________________________
>> 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