Fix issue 8792.

std.algorithm.joiner(ror).Result.save fails to copy over _valid_current,
resulting in a defective copy returned by .save.
This commit is contained in:
H. S. Teoh 2012-10-09 21:58:19 -07:00
parent 8131a49a3c
commit 0c4ebc2ce7

View file

@ -2718,6 +2718,7 @@ if (isInputRange!RoR && isInputRange!(ElementType!RoR))
Result copy;
copy._items = _items.save;
copy._current = _current.save;
copy._valid_current = _valid_current;
return copy;
}
}