Skip to content

Commit

Permalink
test for RT #77462: binding should have list assignment precedence
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Sep 18, 2010
1 parent 519bef8 commit 6a09536
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion S03-operators/binding-scalars.t
Expand Up @@ -10,7 +10,7 @@ These tests are derived from the "Item assignment precedence" section of Synopsi
=end head1 Binding tests

plan 28;
plan 29;

# Basic scalar binding tests
{
Expand Down Expand Up @@ -132,4 +132,11 @@ plan 28;
ok($a == 1 && ~@tail eq '2 3', 'bound slurpy');
}

# RT #77462
# binding how has the same precedence as list assignment
{
my $x := 1, 2;
is $x.join, '12', 'binding has same precdence as list assignment'
}

# vim: ft=perl6

0 comments on commit 6a09536

Please sign in to comment.