Bug 4343 – Associative Arrays of static arrays == range violation

Status
RESOLVED
Resolution
DUPLICATE
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2010-06-18T12:31:00Z
Last change time
2010-07-13T08:06:19Z
Keywords
wrong-code
Assigned to
nobody
Creator
dsimcha

Comments

Comment #0 by dsimcha — 2010-06-18T12:31:02Z
void main() { uint[2][string] foo; uint[2] baz; foo["bar"] = baz; } Compiles cleanly. When run: core.exception.RangeError@test(4): Range violation
Comment #1 by clugdbug — 2010-07-13T08:06:19Z
*** This issue has been marked as a duplicate of issue 1899 ***