https://issues.dlang.org/show_bug.cgi?id=20941

Stanislav Blinov <stanislav.bli...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stanislav.bli...@gmail.com

--- Comment #1 from Stanislav Blinov <stanislav.bli...@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);
}

--

Reply via email to