Error message for lookups went anwful since 2.059

Jesse Phillips jessekphillips+D at gmail.com
Sun Oct 21 11:13:41 PDT 2012


On Saturday, 20 October 2012 at 17:47:21 UTC, Andrej Mitrovic 
wrote:
> 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?

Probably UFCS, I'd say file a bug. Actually one may exist, sounds 
a little familiar.


More information about the Digitalmars-d mailing list