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: nob...@puremagic.com
        ReportedBy: bearophile_h...@eml.cc


--- Comment #0 from bearophile_h...@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.rangeer...@temp(5): Range violation

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to