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

Basile-z <[email protected]> changed:

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

--- Comment #2 from Basile-z <[email protected]> ---
set the inner struct static when the context pointer is not required

void fun()
{
    static struct InnerFun
    {
        ubyte a;
        void fun() {}
    }
    static struct InnerNoFun
    {
        ubyte a;
    }
}

both have size 1 now.

--

Reply via email to