[dmd-beta] dmd 1.063 and 2.048 beta

Andrei Alexandrescu andrei at erdani.com
Tue Aug 10 03:42:31 PDT 2010


I won't be able to get work done in the short term; my father in law  
who was sick with cancer has died and I need to see my wife through  
it. Will get back to you in a couple days.

Sent by shouting through my showerhead.

On Aug 10, 2010, at 2:18 AM, Walter Bright <walter at digitalmars.com>  
wrote:

> 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
>>
>>
> _______________________________________________
> 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