Thread overview
[Issue 20957] void member initialisation is ignored for out struct parameters
Jun 19, 2020
jacob
Dec 17, 2022
Iain Buclaw
June 19, 2020
https://issues.dlang.org/show_bug.cgi?id=20957

jacob <look.at.me.pee.please@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |look.at.me.pee.please@gmail
                   |                            |.com

--- Comment #1 from jacob <look.at.me.pee.please@gmail.com> ---
Void initializers on structs don't do what you think they do. The whole structure gets memcpy'd from the .init struct data. It just allows the compiler to insert whatever it wants for the data that is void initialized in the .init data.

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

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

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

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

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

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

--