Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
October 22, 2018 [Issue 19326] .tupleof sidesteps protection attributes | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19326 Jacob Carlborg <doob@me.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |doob@me.com --- Comment #1 from Jacob Carlborg <doob@me.com> --- I don't consider this a bug, I consider this a feature. -- |
October 22, 2018 [Issue 19326] .tupleof sidesteps protection attributes | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19326 Peter Alexander <peter.alexander.au@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid, safe CC| |peter.alexander.au@gmail.co | |m -- |
October 22, 2018 [Issue 19326] .tupleof sidesteps protection attributes | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19326 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@digitalmars.com See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=15371 -- |
October 22, 2018 [Issue 19326] .tupleof sidesteps protection attributes | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19326 --- Comment #2 from Walter Bright <bugzilla@digitalmars.com> --- tupleof is known to break through private access protections. It should probably not be allowed in @safe code. -- |
October 22, 2018 [Issue 19326] .tupleof sidesteps protection attributes | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19326 Peter Alexander <peter.alexander.au@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|accepts-invalid |spec --- Comment #3 from Peter Alexander <peter.alexander.au@gmail.com> --- It probably goes without saying, but many parts of Phobos use tupleof, so a generously sprinkling of @trusted would be needed. Likely this will break much 3rd party code although that is pure speculation on my part. -- |
December 17, 2022 [Issue 19326] .tupleof sidesteps protection attributes | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19326 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P2 -- |
April 28, 2023 [Issue 19326] .tupleof sidesteps protection attributes | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19326 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |razvan.nitu1305@gmail.com --- Comment #4 from RazvanN <razvan.nitu1305@gmail.com> --- It seems that now `__traits(getMember, s, "i")++;` also compiles. Does that mean that tupleof is also allowed or should we change this? -- |
Copyright © 1999-2021 by the D Language Foundation