Summary: chunks.transposed causes infinite ranges.
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Simen Kjaeraas <> 2012-10-05 06:55:12 
PDT ---
import std.range;
import std.stdio : writeln;

void main( ) {
    ulong[1] t0;
    auto t1 = t0[].chunks(1).transposed;

The above code spews out a never-ending string of [0]s.

Add a very simple .array before .transposed, and things work perfectly.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to