> but this gives the following error: > test.d(4): Error: test.value() is not an lvalue > > Is there a rationale behind this decision of not translating > test.value+=1 to test.value= test.value +1 ? http://forum.dlang.org/thread/xcbweciovapinaicxgbn@forum.dlang.org and http://d.puremagic.com/issues/show_bug.cgi?id=8006