doob at me.com
Sun Oct 2 23:47:19 PDT 2011
On 2011-10-02 17:13, Martin Nowak wrote:
> Changing this would invert the name lookup priority of opDispatch.
> What you request makes Foo.bar inaccessible, i.e. you can't take the
> address of it any longer.
opDispatch should only be called when a piece of code otherwise wouldn't
compile. So in this case, since taking the address of Foo.bar would be
legal, opDispatch wouldn't be called.
More information about the Digitalmars-d