[Issue 4184] associative array with certain key types results in corrupt values during iteration

2010-05-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4184


Steven Schveighoffer  changed:

   What|Removed |Added

 CC||jesse.k.phillip...@gmail.co
   ||m


--- Comment #6 from Steven Schveighoffer  2010-05-19 
10:15:28 PDT ---
*** Issue 4209 has been marked as a duplicate of this issue. ***

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


[Issue 4184] associative array with certain key types results in corrupt values during iteration

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



--- Comment #5 from Steven Schveighoffer  2010-05-14 
04:31:27 PDT ---
I confirm, it fixes the problems in dcollections, thanks.

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


[Issue 4184] associative array with certain key types results in corrupt values during iteration

2010-05-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4184



--- Comment #4 from Steven Schveighoffer  2010-05-13 
19:46:10 PDT ---
Great, thanks!

No wonder there was so much code generated, it's a template :)  I didn't know
the compiler associated AA's with a template.

I'll test against dcollections tomorrow.

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


[Issue 4184] associative array with certain key types results in corrupt values during iteration

2010-05-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4184


Walter Bright  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


--- Comment #3 from Walter Bright  2010-05-13 
17:55:50 PDT ---
changeset 295

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


[Issue 4184] associative array with certain key types results in corrupt values during iteration

2010-05-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4184


Walter Bright  changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com


--- Comment #2 from Walter Bright  2010-05-13 
17:19:42 PDT ---
Printing things in hex yields 4, 1, 5, 2, 3. Hmm.

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


[Issue 4184] associative array with certain key types results in corrupt values during iteration

2010-05-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4184


Steven Schveighoffer  changed:

   What|Removed |Added

  Component|druntime|DMD
 AssignedTo|s...@invisibleduck.org  |nob...@puremagic.com


--- Comment #1 from Steven Schveighoffer  2010-05-13 
11:02:08 PDT ---
wow, nevermind, it is probably dmd.

Compiling this simple function results in pages and pages of AA functions in
disassembly, I'm not sure if druntime has anything to do with this bug.

void foo(uint[ushort] aa)
{
foreach(ushort k, uint v; aa)
{
}
}

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