https://issues.dlang.org/show_bug.cgi?id=7211
Maksim Zholudev <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Maksim Zholudev <[email protected]> --- The error message has been changed. DMD 2.070.2: test.d(10): Error: cannot modify immutable expression this.x This is valid behavior if qualified members of classes are supposed to be dealt as described here: https://issues.dlang.org/show_bug.cgi?id=9665#c9 I wonder whether this is documented somewhere else. --
