Error message for lookups went anwful since 2.059

Andrej Mitrovic andrej.mitrovich at gmail.com
Sat Oct 20 10:47:10 PDT 2012


module test;
struct Foo { }

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

2.058:
$ dmd test.d
test.d(6): Error: no property 'x' for type 'Foo'

2.059:
$dmd test.d
test.d(6): Error: undefined identifier 'x'

I think we took a big step back with this change. Was this maybe
caused by UFCS changes?


More information about the Digitalmars-d mailing list