Bug 4121 – Associative array value bigint assign

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2010-04-24T15:54:00Z
Last change time
2015-06-09T05:13:47Z
Assigned to
nobody
Creator
bearophile_hugs

Comments

Comment #0 by bearophile_hugs — 2010-04-24T15:54:32Z
I don't understand this error (this is not related to BigInt missing a toHash): import std.bigint: BigInt; void main() { BigInt[int] aa; BigInt b = BigInt(1); aa[10] = b; // line 5 } dmd 2.043 shows: core.exception.RangeError@Temp(5): Range violation
Comment #1 by clugdbug — 2010-06-14T06:46:04Z
*** This issue has been marked as a duplicate of issue 2451 ***