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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from [email protected] ---
It doesn't only break immutability, but also TLS:

struct Foo
{
    void ping() shared {}
}

void main()
{
    Foo a;
    // a.ping(); // rejected
    (&a.ping)(); // accepted
}

I really hope someone fixes this soon enough. This is a major flaw.

--

Reply via email to