[Issue 8905] New: DList.Range: Internal error, inconsistent state

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 28 16:00:26 PDT 2012


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

           Summary: DList.Range: Internal error, inconsistent state
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: ellery-newcomer at utulsa.edu


--- Comment #0 from Ellery Newcomer <ellery-newcomer at utulsa.edu> 2012-10-28 16:00:24 PDT ---
The code:

import std.container;
import std.algorithm;
import std.stdio;

void main() {
    DList!int list = make!(DList!int)(1,2,3,4);
    auto range = list[];
    list.stableRemoveBack();
    list.stableInsertBack(7);
    writeln(list[]);
    writeln(range);
}

The fireworks:

core.exception.AssertError@/usr/include/dmd-d/std/container.d(1573):
DList.Range: Internal error, inconsistent state

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