Time for 2.067

zeljkog via Digitalmars-d digitalmars-d at puremagic.com
Sat Jan 31 02:39:10 PST 2015


On 30.01.15 23:24, AndyC wrote:
> On Friday, 30 January 2015 at 22:06:34 UTC, Walter Bright wrote:
>> Time to button this up and release it. Remaining regressions:
>>
>> https://issues.dlang.org/buglist.cgi?bug_severity=regression&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&list_id=192294&query_format=advanced 
>>
> 
> How about this one: https://issues.dlang.org/show_bug.cgi?id=7762
> 
> Not sure if its supposed to compile, but it was reported master wouldn't.
> 
> -Andy

It is related to new rules with -property flag.

import std.stdio;

int f(int a){
    return a + 10;
}

void main() {
    auto x = 20;
    writeln(x.f);
}

This compiles with 2.66.1, but with master:
Error: not a property x.f

There are such things in Phobos (std\functional and ?).








More information about the Digitalmars-d mailing list