[Issue 7579] New: disabled postblit called for array appending of Rvalues

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 25 02:54:31 PST 2012


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: nobody at puremagic.com
        ReportedBy: dawg at dawgfoto.de


--- Comment #0 from dawg at 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: -------


More information about the Digitalmars-d-bugs mailing list