www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13441] New: joiner asserts with only(x) separator


          Issue ID: 13441
           Summary: joiner asserts with only(x) separator
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Phobos
          Assignee: nobody puremagic.com
          Reporter: thecybershadow gmail.com

/////////// test.d ///////////
import std.algorithm;
import std.range;

void main()
    string[][] lines = [null];

This trips the "internal error" assertion in joiner.Result.useSeparator.

Sep 08 2014