[Issue 2451] Adding structs that use opAssign or postblit to an AA is broken

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 15 12:14:11 PST 2010


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


GG <ggcoding at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ggcoding at gmail.com


--- Comment #4 from GG <ggcoding at gmail.com> 2010-02-15 12:14:09 PST ---
import std.variant;

Variant[char[]][int] aa;

aa[0]["a"] = "bla0";
aa[0]["b"] = 100;

aa[1]["a"] = "bla1";
aa[1]["b"] = 200;

With 32-bit Linux and dmd2.039 or dmd2.040
Compile : success
Running : core.exception.RangeError at test(30): Range violation

-- 
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