Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add two "missing" named params
The absence of these made `make` fail.
  • Loading branch information
Carl Masak committed Jun 30, 2015
1 parent dd67e25 commit 257b202
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/GatherIter.pm
Expand Up @@ -35,7 +35,7 @@ class GatherIter is Iterator {
self.DUMP-OBJECT-ATTRS($attrs, :$indent-step, :%ctx, :$flags);
}

method reify($n) {
method reify($n, :$sink) {
if !$!reified.defined {
my Mu $rpa := nqp::list();
my Mu $parcel;
Expand Down
2 changes: 1 addition & 1 deletion src/core/Range.pm
Expand Up @@ -81,7 +81,7 @@ my class Range is Iterable is Cool does Positional {
&& !(!topic.excludes-max && $!excludes-max))
}

method reify($n) {
method reify($n, :$sink) {
my $value = $!excludes-min ?? $!min.succ !! $!min;
# Iterating a Str range delegates to iterating a sequence.
if Str.ACCEPTS($value) {
Expand Down

0 comments on commit 257b202

Please sign in to comment.