Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
April 17, 2022 [Issue 23032] passing nested structs to struct templates which make them static should be a warning | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23032 Paul Backus <snarwin+bugzilla@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |snarwin+bugzilla@gmail.com --- Comment #1 from Paul Backus <snarwin+bugzilla@gmail.com> --- Simplified example: --- void main() { int i; struct Nested { ref get() { return i; } } static Nested n; n.get()++; // segfault } --- -- |
April 17, 2022 [Issue 23032] Static variable of nested type causes runtime crash | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23032 Paul Backus <snarwin+bugzilla@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|passing nested structs to |Static variable of nested |struct templates which make |type causes runtime crash |them static should be a | |warning | Severity|enhancement |normal -- |
December 17, 2022 [Issue 23032] Static variable of nested type causes runtime crash | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23032 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
December 13 [Issue 23032] Static variable of nested type causes runtime crash | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23032 --- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/20090 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB -- |
Copyright © 1999-2021 by the D Language Foundation