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?