From: Andrej Mitrovic <andrej.mitrovich@gmail.com>
To: Discuss the dmd beta releases for D <dmd-beta@puremagic.com>
Sent: Monday, April 9, 2012 5:24 PM
Subject: Re: [dmd-beta] D 2.059 beta 4
On 4/9/12, Walter Bright <
walter@digitalmars.com> wrote:
> I believe the error message is correct.
I don't know about that. in TDPL p197 it says:
"If you use an object instead of the class name when accessing a
static member, that's fine, too.:
auto c = (new Widget).someStaticMember"
It would naturally follow that using 'this' for static members would
be ok as well. Why break code now?
_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.comhttp://lists.puremagic.com/mailman/listinfo/dmd-beta