https://issues.dlang.org/show_bug.cgi?id=18524
Issue ID: 18524
Summary: std.range.Zip.moveBack instead performs moveFront
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
There is a typo in the first line, `moveFront` instead of `moveBack`:
https://github.com/dlang/phobos/blob/6128ed629f6a180413b3965386004c39fb577d5a/std/range/package.d#L4169-L4171
```
@property tryMoveBack(size_t i)(){return ranges[i].empty ? tryGetInit!i() :
ranges[i].moveFront();}
//ElementType(tryMoveBack!0, tryMoveBack!1, ...)
return mixin(q{ElementType(%(tryMoveBack!%s, %))}.format(iota(0,
R.length)));
```
--