http://d.puremagic.com/issues/show_bug.cgi?id=9612
Summary: cycle() and opSlice
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Andrea Fontana <[email protected]> 2013-02-27 15:20:41 PST
---
This line:
writeln(iota(10).cycle()[5..2].take(4));
prints:
[5, 6, 7, 8]
It seems some preconditions/tests are missing from cycle()
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------