Thread overview
[Issue 20712] Struct construction/assignment in static constructors is broken
Dec 17, 2022
Iain Buclaw
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=20712

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P2

--
August 29
https://issues.dlang.org/show_bug.cgi?id=20712

Nick Treleaven <nick@geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick@geany.org
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=24449

--
November 29
https://issues.dlang.org/show_bug.cgi?id=20712

--- Comment #1 from Nick Treleaven <nick@geany.org> ---
Yes, initializing a global from a static constructor should work like field initialization from a class constructor. That would also solve issue 24449.

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

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

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

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

--