Thread overview | |||||
---|---|---|---|---|---|
|
June 17, 2020 [Issue 20941] __traits(getMember) should not allow safe code to access private fields | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20941 Stanislav Blinov <stanislav.blinov@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stanislav.blinov@gmail.com --- Comment #1 from Stanislav Blinov <stanislav.blinov@gmail.com> --- For clarity, you mean modifying `tag` like so? void unsafe() @safe { S s; __traits(getMember, s, "tag") = 2; // should be error s.set(42); } -- |
December 17, 2022 [Issue 20941] __traits(getMember) should not allow safe code to access private fields | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20941 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P4 -- |
December 13 [Issue 20941] __traits(getMember) should not allow safe code to access private fields | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20941 --- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19721 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB -- |
Copyright © 1999-2021 by the D Language Foundation