Skip to content

Commit

Permalink
Fix one more X::Cannot::Lazy / .infinite mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Aug 14, 2015
1 parent 796b896 commit b2609e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Hash.pm
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ my class Hash { # declared in BOOTSTRAP

method push(*@values) {
fail X::Cannot::Lazy.new(:action<push>, :what(self.^name))
if @values.infinite;
if @values.is-lazy;
my $previous;
my $has_previous;
for @values -> $e {
Expand Down

0 comments on commit b2609e9

Please sign in to comment.