April 15, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7914

           Summary: wrong AA insert evaluation order
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: wrong-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: dawg@dawgfoto.de


--- Comment #0 from dawg@dawgfoto.de 2012-04-15 06:53:00 PDT ---
cat > bug.d << CODE
void main()
{
    size_t[ubyte] aa;
    aa[0] = aa.length;
    assert(aa[0] == 0);
}
CODE

dmd -run bug
--------

aa.length is evaluated after a new entry was added to the AA. A similar test for arrays works correctly.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 29, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7914


yebblies <yebblies@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |yebblies@gmail.com
         Resolution|                            |DUPLICATE


--- Comment #1 from yebblies <yebblies@gmail.com> 2012-10-30 00:26:23 EST ---
*** This issue has been marked as a duplicate of issue 3825 ***

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