https://issues.dlang.org/show_bug.cgi?id=14102
RazvanN <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |WORKSFORME --- Comment #5 from RazvanN <[email protected]> --- I now get: test.d(3): Error: `-x` is not an lvalue and cannot be modified test.d(4): Error: `-(x -= 1)` is not an lvalue and cannot be modified test.d(5): Error: `-(x -= 1 -= 1)` is not an lvalue and cannot be modified test.d(6): Error: `-(x -= 1 -= 1 -= 1)` is not an lvalue and cannot be modified Looks fine to me. Closing as WORKSFORME. @Iain, is this what you were expecting? --
