July 23, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4496

           Summary: aa.get broken when using get and opIndexAssign in same
                    statement
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: sean@invisibleduck.org
        ReportedBy: dsimcha@yahoo.com


--- Comment #0 from David Simcha <dsimcha@yahoo.com> 2010-07-23 13:55:05 PDT ---
import std.stdio, std.contracts, std.conv;

void main() {
    int[string] aa;
    aa["foo"] = aa.get("foo", 5);

    // This fails because aa["foo"] ends up being 0.
    enforce(aa["foo"] == 5, text(aa["foo"]));
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
August 13, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4496


David Simcha <dsimcha@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #1 from David Simcha <dsimcha@yahoo.com> 2011-08-12 20:39:56 PDT ---
Fixed at some point in the past.  Can't reproduce anymore.

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