https://issues.dlang.org/show_bug.cgi?id=8278
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |FIXED --- Comment #1 from [email protected] --- Works in git HEAD: ----- import std.range, std.algorithm; void main() { struct FwdRange { // N.B. no slicing or length here enum empty = false; auto front = 1; void popFront() {} @property auto save() { return this; } } auto c = std.range.chunks(FwdRange(), 5); import std.stdio; writeln(c.take(10)); } ----- --
