Skip to content

Commit

Permalink
[EnumMap] return Perl 6 strings as keys
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Mar 28, 2011
1 parent c8745bc commit 405afa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/EnumMap.pm
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class EnumMap is Iterable does Associative {
my $iter = pir::iter__PP($!storage);
while pir::istrue__IP($iter) {
my $iter_item = pir::shift__PP($iter);
take Pair.new(key => $iter_item.key, value => $iter_item.value);
take Pair.new(key => ~$iter_item.key, value => $iter_item.value);
}
}
}
Expand Down

0 comments on commit 405afa9

Please sign in to comment.