Skip to content

Commit

Permalink
:kv no longer returns parcels of (k,v)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimToady committed Sep 2, 2014
1 parent 04d38c8 commit 6f52902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/advent2013-day10.t
Expand Up @@ -115,7 +115,7 @@ sub foo2($z, :$bar, :$baz) {
is $applies-to, '.bar()', 'applies to .bar()';

my @a = 10, 20, 30, 40, 50;
is_deeply @a[0..2] :kv, ((0, 10), (1, 20), (2, 30)), 'applies to []';
is_deeply @a[0..2] :kv, (0, 10, 1, 20, 2, 30), 'applies to []';

sub infix:<+>($a, $b, :$adv){
$applies-to = "...+{$b}"
Expand Down

0 comments on commit 6f52902

Please sign in to comment.