[Issue 2451] Cannot add a Variant to associative array

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 15 12:20:59 PST 2010


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


David Simcha <dsimcha at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dsimcha at yahoo.com


--- Comment #2 from David Simcha <dsimcha at yahoo.com> 2010-01-15 12:20:57 PST ---
Adding structs that use opAssign or postblit to an AA is broken.  The following
also produces a range violation:

struct Foo {
    this(this){}
}

void main() {
    Foo[string] stuff;
    stuff["foo"] = Foo.init;
}

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