[Issue 8551] New: Endless Split

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Aug 15 06:59:50 PDT 2012


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

           Summary: Endless Split
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: daniel350 at bigpond.com


--- Comment #0 from Daniel Cousens <daniel350 at bigpond.com> 2012-08-15 06:59:47 PDT ---
import std.array;

void main() {
      auto s = "abc";
      auto r = s.split("");

      assert(false); // won't ever be reached
}


The assert is never reached, for whatever reason, the compiler hangs (possible
in an infinite loop somewhere).

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