digitalmars.D.bugs - [Issue 6210] New: Associative array with array key often cannot be equated.
- d-bugmail puremagic.com (35/35) Jun 24 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6210
- d-bugmail puremagic.com (10/10) Mar 02 2012 http://d.puremagic.com/issues/show_bug.cgi?id=6210
- d-bugmail puremagic.com (6/6) Dec 17 2012 http://d.puremagic.com/issues/show_bug.cgi?id=6210
- d-bugmail puremagic.com (8/8) Aug 13 2013 http://d.puremagic.com/issues/show_bug.cgi?id=6210
- d-bugmail puremagic.com (11/11) Aug 15 2013 http://d.puremagic.com/issues/show_bug.cgi?id=6210
- d-bugmail puremagic.com (13/13) Aug 15 2013 http://d.puremagic.com/issues/show_bug.cgi?id=6210
- d-bugmail puremagic.com (18/18) Aug 15 2013 http://d.puremagic.com/issues/show_bug.cgi?id=6210
- d-bugmail puremagic.com (11/11) Aug 15 2013 http://d.puremagic.com/issues/show_bug.cgi?id=6210
http://d.puremagic.com/issues/show_bug.cgi?id=6210 Summary: Associative array with array key often cannot be equated. Product: D Version: D2 Platform: Other OS/Version: Mac OS X Status: NEW Keywords: wrong-code Severity: normal Priority: P2 Component: druntime AssignedTo: nobody puremagic.com ReportedBy: kennytm gmail.com Test case 1: ---------------------------------------- void main() { int[char[]] a; a["h"] = 1; assert(a == a.dup); // <-- asserts } ---------------------------------------- Test case 2: ---------------------------------------- void main() { int[immutable(int)[]] a, b; a[[1].idup] = 1; b[[1].idup] = 1; assert(a == b); // <-- asserts } ---------------------------------------- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 24 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6210 hsteoh quickfur.ath.cx changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hsteoh quickfur.ath.cx https://github.com/D-Programming-Language/druntime/pull/171 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 02 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6210 Hmm, the pull request fixed test case 2, but test case 1 is still failing. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 17 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6210 Argh, this is caused by the stupidity of typeid(const(char)[]) using a different hash function from typeid(char[]) and typeid(immutable(char)[]). Will submit a pull for this. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 13 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6210 hsteoh quickfur.ath.cx changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|wrong-code |pull https://github.com/D-Programming-Language/dmd/pull/2479 https://github.com/D-Programming-Language/druntime/pull/573 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 15 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6210 Commits pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/b8b4726a5e9d4781c3822a483abb66e8952323a8 Subsidiary fix for issue 6210. Add builtin typeinfo for const(char)[] so that it will use the same hash function as char[] and string. https://github.com/D-Programming-Language/druntime/commit/8aa3ebf8715fc6c49bedd2c0c18b92e6ed46b045 Subsidiary fix for issue 6210. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 15 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6210 Commits pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/b8b4726a5e9d4781c3822a483abb66e8952323a8 Subsidiary fix for issue 6210. Add builtin typeinfo for const(char)[] so that it will use the same hash function as char[] and string. https://github.com/D-Programming-Language/druntime/commit/8aa3ebf8715fc6c49bedd2c0c18b92e6ed46b045 Subsidiary fix for issue 6210. Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/3e811df8a9d1839282254d403fb9129f162fbe6f Fix issue 6210 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 15 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6210 hsteoh quickfur.ath.cx changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Verified fixed. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 15 2013