D1->D2 member call syntax regression?

Nick Sabalausky a at a.a
Wed Jul 28 12:21:42 PDT 2010


"bearophile" <bearophileHUGS at lycos.com> wrote in message 
news:i2p4iq$po$1 at digitalmars.com...
> Nick Sabalausky:
>> That's because my original example accidentally made Foo an 
>> uninstantiated
>> class template, so the compiler never bothered to check the semantics...
>
> Surely here there is no shortage of ways I can paint myself as a stupid 
> :-)
> In Python the () after the class name are optional and they do nothing, so 
> I didn't see them in that little D program :-)
>

*I'm* the one that was dumb enough put them there in the first place! And I 
can't use "extensive Python experience" as an excuse ;)




More information about the Digitalmars-d-learn mailing list