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


Jonathan M Davis <jmdavisp...@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |major


--- Comment #1 from Jonathan M Davis <jmdavisp...@gmx.com> 2011-08-12 01:26:13 
PDT ---
Okay. I just spent a few hours trying to track down a failure due to this, so
I'm bumping it up to major (what the exact criteria for what level a bug is, I
don't know, but this one is definitely annoying).

What seems to be happening here is that the associative array gets assigned a
default-initialized value if an exception was thrown from the expression on the
right-hand side of the assignment. My best guess is that a default-initialized
element is added to the AA as part of arr["hello"], and then when the
assignment doesn't happen due to the exception, the AA is left with the
default-initialized value in it.

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

Reply via email to