On 6/13/11 5:36 AM, Mehrdad wrote:
An idea came to my mind for fixing the const/rebindable issue, and I'm
not sure if it's a good idea or not but I thought I'd mention it. I'm
not sure if it's been mentioned before, but a quick search didn't make
it seem like it has been.

Right now, the trouble seems to be from the fact that a piece of code like:
const(Object) obj;
prevents obj from being assigned a new object.

You might be interested in Michel's const(Object)ref proposal: https://github.com/D-Programming-Language/dmd/pull/3

David

Reply via email to