Skip to content

Commit

Permalink
Fix for #126883
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Dec 12, 2015
1 parent 04791bf commit 502b886
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/core/SlippyIterator.pm
Expand Up @@ -7,7 +7,11 @@ my role SlippyIterator does Iterator {
# The current Slip we're iterating.
has $!slip-iter;

method start-slip(Slip:D $slip) {
proto method start-slip(|) { * }
multi method start-slip(Slip:U $slip) {
$slip
}
multi method start-slip(Slip:D $slip) {
$!slipping = 1;
$!slip-iter := $slip.iterator;
self.slip-one()
Expand Down

0 comments on commit 502b886

Please sign in to comment.