[Issue 17376] modify global variable with pure method

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun May 7 01:59:20 PDT 2017


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla at digitalmars.com
         Resolution|---                         |INVALID

--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
This compiles successfully because the 'this' reference is treated like any
other parameter.

--


More information about the Digitalmars-d-bugs mailing list