[Issue 2938] incorrect code generated for assignment to assoc array element

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2938

Andrei Alexandrescu and...@erdani.com changed:

   What|Removed |Added

Version|2.029   |D2

--


[Issue 2938] incorrect code generated for assignment to assoc array element

2010-06-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2938


Don clugd...@yahoo.com.au changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||clugd...@yahoo.com.au
 Resolution||DUPLICATE


--- Comment #2 from Don clugd...@yahoo.com.au 2010-06-14 01:32:05 PDT ---
*** This issue has been marked as a duplicate of issue 2451 ***

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


[Issue 2938] incorrect code generated for assignment to assoc array element

2010-01-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2938


David Simcha dsim...@yahoo.com changed:

   What|Removed |Added

 CC||dsim...@yahoo.com


--- Comment #1 from David Simcha dsim...@yahoo.com 2010-01-14 08:34:07 PST ---
Also happens when opAssign is overloaded:

struct Foo {
uint stuff;

void opAssign(Foo rhs) {
stuff = rhs.stuff;
}
}

void main() {
Foo[string] AA;
AA[bar] = Foo.init;  // Range violation.
}

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