[Issue 13629] Field postblit can't be generated for const field

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Oct 19 14:02:29 PDT 2014


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

ag0aep6g at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ag0aep6g at gmail.com

--- Comment #1 from ag0aep6g at gmail.com ---
Same with destructor:

struct A
{
    ~this() {} /* Error: mutable method test.B.~this is not callable using a
const object */
}
struct B {A a;}
struct C {const B b;}

--


More information about the Digitalmars-d-bugs mailing list