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



--- Comment #1 from Max Samukha <samu...@voliacable.com> 2010-11-16 09:48:10 
PST ---
Even simpler test-case:

struct S
{
    this(int x)
    {
    }

    void foo(S s = S(42))
    {
    }
}

void main()
{
    S s;
    s.foo(); // error
}

Error: more initializers than fields of S

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

Reply via email to