June 07, 2006
When will the op= be implemented on a get/set property, e.g array.length+=1; Is there some technical difficulty?


June 07, 2006
"icee" <icee_member@pathlink.com> wrote in message news:e65tfl$2p78$1@digitaldaemon.com...
> When will the op= be implemented on a get/set property, e.g
> array.length+=1;
> Is there some technical difficulty?

It's difficult because the compiler would have to be able to match up the getters and setters for a given property, which, given D's rather "interesting" method of declaring properties and also because of possible implicit conversions, it might be a very difficult thing to do.