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

           Summary: hash table corruption
           Product: D
           Version: D1
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: m...@vermi.fr


--- Comment #0 from Vermi <m...@vermi.fr> 2011-04-13 06:52:39 PDT ---
When emptying a hash table, rehash it and fill it, an error occure.

Code sample :
void main()
{
    string[ string ] test = null;

    test[ "test1" ] = "test1";
    test.remove("test1");

    test.rehash;

    test[ "test3" ] = "test3";
}

Result:
Error: Interger Divide by Zero

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

Reply via email to