D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 4343 - Associative Arrays of static arrays == range violation
Summary: Associative Arrays of static arrays == range violation
Status: RESOLVED DUPLICATE of issue 1899
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: Other Windows
: P2 major
Assignee: No Owner
URL:
Keywords: wrong-code
Depends on:
Blocks:
 
Reported: 2010-06-18 12:31 UTC by David Simcha
Modified: 2010-07-13 08:06 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description David Simcha 2010-06-18 12:31:02 UTC
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 Don 2010-07-13 08:06:19 UTC

*** This issue has been marked as a duplicate of issue 1899 ***