[Issue 9852] New: Empty associative array crashes program
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Apr 1 13:15:56 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9852
Summary: Empty associative array crashes program
Product: D
Version: D2
Platform: x86_64
OS/Version: Mac OS X
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: luismarques at gmail.com
--- Comment #0 from Luís Marques <luismarques at gmail.com> 2013-04-01 13:15:55 PDT ---
#!/usr/local/bin/rdmd
@safe:
void main()
{
int[string] a;
a["foo"] = 0;
a.remove("foo");
assert(a != null);
}
---
$ ./test.d
Segmentation fault: 11
--
System:
DMD64 D Compiler v2.062
Darwin feynman 12.3.0 Darwin Kernel Version 12.3.0: Sun Jan 6 22:37:10 PST
2013; root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list