Thread overview
[Issue 12883] implicit conversion of struct to mutable via alias this
Jun 09, 2014
Nils
Jun 09, 2014
Nils
Jun 16, 2014
Kenji Hara
Nov 15, 2018
RazvanN
Dec 16, 2018
Walter Bright
Dec 17, 2022
Iain Buclaw
June 09, 2014
https://issues.dlang.org/show_bug.cgi?id=12883

--- Comment #1 from Nils <nilsbossung@googlemail.com> ---
https://github.com/D-Programming-Language/dmd/pull/3654

--
June 09, 2014
https://issues.dlang.org/show_bug.cgi?id=12883

Nils <nilsbossung@googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |12885

--
June 16, 2014
https://issues.dlang.org/show_bug.cgi?id=12883

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

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

--- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> ---
With struct type S, copy operation from const S to mutable S should be handled postblit always.

So, 'alias this' never be considered in the case, and this is invalid issue.

--
November 15, 2018
https://issues.dlang.org/show_bug.cgi?id=12883

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |razvan.nitu1305@gmail.com
         Resolution|INVALID                     |---

--- Comment #3 from RazvanN <razvan.nitu1305@gmail.com> ---
This is a valid issue. Alias this should be employed if a copy constructor is not defined.

--
December 16, 2018
https://issues.dlang.org/show_bug.cgi?id=12883

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=12885

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=12883

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P4

--
December 13
https://issues.dlang.org/show_bug.cgi?id=12883

--- Comment #4 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/18836

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--