D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 6301 - Cannot 'zip'/'retro'/'stride' etc. a range having 'ulong' length.
Summary: Cannot 'zip'/'retro'/'stride' etc. a range having 'ulong' length.
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: Other Mac OS X
: P2 normal
Assignee: No Owner
URL:
Keywords: rejects-valid
Depends on:
Blocks:
 
Reported: 2011-07-12 14:24 UTC by kennytm
Modified: 2011-07-16 01:02 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description kennytm 2011-07-12 14:24:57 UTC
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);
}
----------------------
Comment 1 kennytm 2011-07-12 15:21:17 UTC
Phobos pull #142.

https://github.com/D-Programming-Language/phobos/pull/142