Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix .push-all/.skip-all on SlippyIterators
Fixes RT#132109: https://rt.perl.org/Ticket/Display.html?id=132109 The implemented methods forget to check whether we're currently $!slipping, which causes loss of all the remaining elements in the currently slipping Slip. Fix by add ing a check for $!slipping and doing self.skip-one and pushing (or skipping) those values before we go into the main loop of pulling more from the source iterator.
- Loading branch information
1 parent
9bbfed1
commit 41896b7
Showing
1 changed file
with
153 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters