digitalmars.D.bugs - [Issue 4723] New: AssociativeArray's bug
- d-bugmail puremagic.com (36/36) Aug 25 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4723
- d-bugmail puremagic.com (13/13) Aug 25 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4723
- d-bugmail puremagic.com (12/12) Aug 04 2011 http://d.puremagic.com/issues/show_bug.cgi?id=4723
http://d.puremagic.com/issues/show_bug.cgi?id=4723 Summary: AssociativeArray's bug Product: D Version: D2 Platform: Other URL: http://hibari.2ch.net/test/read.cgi/tech/1281826764/43 -44 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: zan77137 nifty.com Depends on: 3962 This code doesn't work: void main() { int[int] a = (int[int]).init; a[1] = 2; } This makes runtime error: object.Error: Integer Divide by Zero And this: void main() { int[int] a = (int[int]).init; a[1] = 2; } This makes compiletime error: Error: incompatible types for ((a) == (AssociativeArray(null))): 'int[int]' and 'AssociativeArray!(int,int)' These bug probably depends on this: http://d.puremagic.com/issues/show_bug.cgi?id=3962 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 25 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4723 Sorry, I missed. void main() { int[int] a; assert(a == a.init); } Error: incompatible types for ((a) == (AssociativeArray(null))): 'int[int]' and 'AssociativeArray!(int,int)' -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 25 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4723 dawg dawgfoto.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |dawg dawgfoto.de Resolution| |DUPLICATE *** This issue has been marked as a duplicate of issue 6433 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 04 2011