Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix bag and keybag failures.
  • Loading branch information
jnthn committed Dec 9, 2012
1 parent f122e60 commit c481a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Bag.pm
Expand Up @@ -118,7 +118,7 @@ my class KeyBag does Associative does Baggy {
sub choose {
my $choice = $a.rand;
my $i = 0;
for @inverse-mapping -> $im {
eager do for @inverse-mapping -> $im {
if $choice ~~ $i ..^ +$im.key {
return $im.value;
}
Expand Down

0 comments on commit c481a55

Please sign in to comment.