On 2013-05-08 23:20, Leandro Motta Barros wrote:
Hello,

I was toying with the idea of adding an 'alias instance this' to a
low-lock singleton, to allow calling MySingleton.method(), instead of
MySingleton.instance.method().

This won't work. You need to be able to overload on static, which you can't. I've tried this with opDispatch.

http://d.puremagic.com/issues/show_bug.cgi?id=3345

--
/Jacob Carlborg

Reply via email to