https://issues.dlang.org/show_bug.cgi?id=7211

Maksim Zholudev <maxim...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maxim...@gmail.com

--- Comment #1 from Maksim Zholudev <maxim...@gmail.com> ---
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.

--

Reply via email to