D.gnu - [Issue 1191] New: multidimensional associative array assignment doesn't behave as with DMD
- d-bugmail puremagic.com (21/21) Apr 26 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1191
- d-bugmail puremagic.com (9/9) Jul 13 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1191
- d-bugmail puremagic.com (6/6) Feb 25 2008 http://d.puremagic.com/issues/show_bug.cgi?id=1191
http://d.puremagic.com/issues/show_bug.cgi?id=1191 Summary: multidimensional associative array assignment doesn't behave as with DMD Product: DGCC aka GDC Version: 0.23 Platform: Macintosh OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: glue layer AssignedTo: dvdfrdmn users.sf.net ReportedBy: d brian.codekitchen.net GDC will compile this code, but throw an ArrayBoundsError at runtime: void main() { int stuff[char[]][char[]]; stuff["first"]["second"] = 5; } DMD 1.010 on Windows XP compiles the code and runs it with no error (you can print out the assigned variable to confirm this). --
Apr 26 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1191 dvdfrdmn users.sf.net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED fixed in svn r125 / release 0.24 --
Jul 13 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1191 Added to DStress as http://dstress.kuehne.cn/run/a/associative_array_24_A.d http://dstress.kuehne.cn/run/a/associative_array_24_B.d --
Feb 25 2008