http://d.puremagic.com/issues/show_bug.cgi?id=10521



--- Comment #1 from Damian <[email protected]> 2013-07-01 10:16:46 PDT ---
This is a correct test case, ignore the previous one.
Anyway tested now with Git Head and the issue has been resolved! Hooray :)

struct Test
{
    enum DefaultSize = 256;
    int size;

    this(int sz = DefaultSize )
    {
        size = sz;
    }

    ~this()
    {
        assert(size == DefaultSize);
    }
}

public class ClassA
{
    private Test st_test;

    public this()
    {
        st_test = Test(256);
    }
}

void main()
{
    auto cl = new ClassA;
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to