Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix "Too few positionals passed" in S03-junctions/boolean-context.t
We no longer auto-flatten results of meta ops, need to unpack manually
  • Loading branch information
niner committed Aug 25, 2015
1 parent d2a3cfc commit c94cd06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S03-junctions/boolean-context.t
Expand Up @@ -98,7 +98,7 @@ ok do if 2 & 2 & 2 == 3 { 0 } else { 1 };

{
my $c = 0;
for (-4..4)X(-4..4) -> $x, $y {
for (-4..4)X(-4..4) -> ($x, $y) {
if $x & $y == -1 | 0 | 1 {
$c++;
}
Expand Down

0 comments on commit c94cd06

Please sign in to comment.