[Issue 6301] New: Cannot 'zip'/'retro'/'stride' etc. a range having 'ulong' length.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 12 14:30:07 PDT 2011


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

           Summary: Cannot 'zip'/'retro'/'stride' etc. a range having
                    'ulong' length.
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Mac OS X
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: kennytm at gmail.com


--- Comment #0 from kennytm at gmail.com 2011-07-12 14:24:57 PDT ---
Test case:

----------------------
import std.range;

void f() {
    auto LL = iota(1L, 1000L);
    auto z = zip(LL, LL);
    auto r = retro(LL);
    auto pb = popBackN(LL, 2);
    auto s = stride(LL, 2);
    auto rd = radial(LL);
}
----------------------

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