Thread overview
[Issue 20712] Struct construction/assignment in static constructors is broken
Dec 17, 2022
Iain Buclaw
6 days ago
Nick Treleaven
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

--
6 days ago
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.

--