Can call static method with null reference

Namespace rswhite4 at googlemail.com
Sat Jun 22 09:34:25 PDT 2013


> but that's a problem caused by the fact that static functions 
> can
> be called via an instance, and fixing that would mean making it 
> illegal to call
> static functions on instances (which I would love to have 
> happen but don't
> expect to ever happen).
>
> - Jonathan M Davis

What was the reason for this terrible design decision?


More information about the Digitalmars-d-learn mailing list