Skip to content

Commit

Permalink
Merge branch 'master' of github.com:perl6/roast
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Feb 25, 2012
2 parents d4cb58c + 079dbfb commit 117ffc1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions S32-list/map.t
Expand Up @@ -245,9 +245,7 @@ is( ~((1..3).map: { dbl( $_ ) }),'2 4 6','extern method in map');
{
my $x = :a<5>;
is $x.map({ .key, .value + 1}), ('a', 6), 'map on pair works (comma)';
#?rakudo skip 'Method "key" not found for invocant of class "Int"'
#?niecza skip 'Unable to resolve method key in class Int'
is $x.map({ .key => .value + 1}), ('a' => 6), 'map on pair works (=>)';
is $x.map({ ; .key => .value + 1}), ('a' => 6), 'map on pair works (=>)';
}

# vim: ft=perl6

0 comments on commit 117ffc1

Please sign in to comment.