Bug 2135 – dmd produces wrong code for dynamic array of associative array

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2008-05-30T10:47:00Z
Last change time
2014-02-24T15:32:07Z
Assigned to
bugzilla
Creator
vsb

Comments

Comment #0 by vsb — 2008-05-30T10:47:30Z
void main() { int[string][] a; a.length = 1; } This program run into an infinite loop on 3-rd line.
Comment #1 by vsb — 2008-06-04T10:27:19Z
I compiled this program with debug version of phobos library and it prints Error: AssertError Failure std.gc(677)
Comment #2 by gide — 2008-06-05T16:18:47Z
*** This bug has been marked as a duplicate of 929 ***