D1->D2 member call syntax regression?

bearophile bearophileHUGS at lycos.com
Wed Jul 28 04:33:46 PDT 2010


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 :-)

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list