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

           Summary: [DMD 2.064a] Struct with postblit cannot be appended
                    to an AA of arrays
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from S�nke Ludwig <[email protected]> 2013-10-08 07:45:58 
PDT ---
---
struct S {
    this(bool) {}
    this(this) {}
}

void main()
{ 
    S[][string] test;
    test["test"] ~= S.init;
}
---

Yields:
source\app.d(11): Error: constructor app.S.this (bool _param_0) is not callable
using argument types (void)

Removing the constructor yields:
source\app.d(8): Error: expression __cpcttmp3.__cpctor(__aaval2) is void and
has no value

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

Reply via email to