opDispatch with implicit receiver

Jacob Carlborg doob at me.com
Thu Aug 23 23:34:46 PDT 2012


On 2012-08-23 17:35, Ali Çehreli wrote:

> I don't know the actual decision that has been made at the time but I am
> happy that it works this way. Otherwise the compiler would not be able
> to flag silly typos in classes that define opDispatch. Yes, it is still
> possible to make typos after the 'this.' part but at least it is
> explicit this way.

I see.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list