[Issue 4121] New: Associative array value bigint assign

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 24 15:54:32 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4121

           Summary: Associative array value bigint assign
           Product: D
           Version: future
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 2010-04-24 15:54:32 PDT ---
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 at Temp(5): Range violation

-- 
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