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

Kenji Hara <k.hara...@gmail.com> changed:

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

--- Comment #1 from Kenji Hara <k.hara...@gmail.com> ---
OpAssign never work when a variable is initialized. In this line:

>       Fail b = a;

'b' is yet not born, but opAssign needs a living 'this' instance. Therefore,
the variable 'b' initialization with an lvalue 'a' always tries to copy 'a',
then rejected by @disable this(this).

--

Reply via email to