[Issue 13934] Cannot pass 'this' to function by reference

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jan 5 04:56:43 PST 2015


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

Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> ---
It's an intended bugfix for the issue 13116.
'this' and 'super' should not be lvalues to avoid illegal rebindings.

See the detailed cases in the issue ticket.

--


More information about the Digitalmars-d-bugs mailing list