http://d.puremagic.com/issues/show_bug.cgi?id=4463
Summary: double.init in associative array seems 0.0 Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: druntime AssignedTo: s...@invisibleduck.org ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2010-07-15 04:24:09 PDT --- With dmd 2.047 this code doesn't assert at runtime (aa[0] has to be nan): void main() { double[int] aa; aa[0]++; assert(aa[0] == 1.0); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------