www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10683] New: std.range.join of an array of array of tuple of string

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

           Summary: std.range.join of an array of array of tuple of string
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: bearophile_hugs eml.cc



import std.typecons: tuple;
import std.range: join;
void main() {
    auto r1 = [[tuple(1)]].join; // OK
    auto r2 = [[tuple("x")]].join; // Error
}


DMD 2.064alpha gives:
core.exception.AssertError std.algorithm(1923): Assertion failure

I think this used to work.

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