https://issues.dlang.org/show_bug.cgi?id=20941
Stanislav Blinov <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Stanislav Blinov <[email protected]> --- For clarity, you mean modifying `tag` like so? void unsafe() @safe { S s; __traits(getMember, s, "tag") = 2; // should be error s.set(42); } --
