Thread overview
[Issue 21685] bad error message on private constructor: member this is not accessible
Mar 07, 2021
Tobias Pankrath
Mar 07, 2021
Basile-z
Mar 07, 2021
nx
Mar 08, 2021
RazvanN
Jul 25, 2021
Andrei David
Jul 25, 2021
Dlang Bot
Aug 02, 2021
Dlang Bot
March 07, 2021
https://issues.dlang.org/show_bug.cgi?id=21685

--- Comment #1 from Tobias Pankrath <tobias@pankrath.net> ---
This confused other people on discord, too. So I am not the only one.

--
March 07, 2021
https://issues.dlang.org/show_bug.cgi?id=21685

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic

--
March 07, 2021
https://issues.dlang.org/show_bug.cgi?id=21685

nx <nightmarex1337@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nightmarex1337@hotmail.com

--- Comment #2 from nx <nightmarex1337@hotmail.com> ---
Can confirm.

--
March 08, 2021
https://issues.dlang.org/show_bug.cgi?id=21685

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|diagnostic                  |trivial
                 CC|                            |razvan.nitu1305@gmail.com

--- Comment #3 from RazvanN <razvan.nitu1305@gmail.com> ---
Yes, the type of the member should be explicitly stated to avoid any type of confusion.

--
July 25, 2021
https://issues.dlang.org/show_bug.cgi?id=21685

Andrei David <dandrei279@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dandrei279@gmail.com
           Assignee|nobody@puremagic.com        |dandrei279@gmail.com

--
July 25, 2021
https://issues.dlang.org/show_bug.cgi?id=21685

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
@dandrei279 created dlang/dmd pull request #12919 "[DSSv3] Fix Issue 21685: add clearer message for private constructor" fixing this issue:

- Fix Issue 21685: add clearer message for private constructor

https://github.com/dlang/dmd/pull/12919

--
August 02, 2021
https://issues.dlang.org/show_bug.cgi?id=21685

Dlang Bot <dlang-bot@dlang.rocks> changed:

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

--- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #12919 "[DSSv3] Fix Issue 21685: add clearer message for private constructor" was merged into master:

- 0b1f5d661a3528231aa6b856642c25976a7a8e28 by Andrei David:
  Fix Issue 21685: add clearer message for private constructor

https://github.com/dlang/dmd/pull/12919

--