Skip to content

Commit

Permalink
Fix the bind test
Browse files Browse the repository at this point in the history
Part of fix described in 4bf399347c

If actual binding is expected, the $a needs to be is raw.
  • Loading branch information
zoffixznet committed Oct 9, 2017
1 parent 3cbeaea commit 0a6daaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S06-other/pairs-as-lvalues.t
Expand Up @@ -10,7 +10,7 @@ throws-like 'my $var; (key => $var) = "value"', X::Assignment::RO;
{
my ($a, $b);
$b = 'b';
:(:$a) := \(:a($b));
:(:$a is raw) := \(:a($b));
is $a, 'b', 'can bind to single pair';
ok $a =:= $b, 'variables are bound together (?)';
}
Expand Down

0 comments on commit 0a6daaa

Please sign in to comment.