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

           Summary: disabled postblit called for array appending of
                    Rvalues
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: d...@dawgfoto.de


--- Comment #0 from d...@dawgfoto.de 2012-02-25 02:54:27 PST ---
cat > bug.d << CODE
struct Foo
{
    version (none)
        @disable this(this);
    else // linker error if undefined
        @disable this(this) { assert(0); }
}

void main()
{
    Foo[] foos;
    foos ~= Foo(); // calls postblit
}
CODE

dmd -g bug

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

Reply via email to