Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix creation of nested arrays in S09-autovivification/autoincrement.t
  • Loading branch information
niner committed Aug 28, 2015
1 parent 971583a commit 4e91c07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions S09-autovivification/autoincrement.t
Expand Up @@ -24,14 +24,14 @@ plan 7;
}

{
my @foo = [0];
my @foo = $[0];
try @foo[0][0]++;
is @foo[0][0], 1, 'lvalue @var[][] works';
}

{
my $a;
try $a := ++[[0]][0][0];
try $a := ++[$[0]][0][0];
is $a, 1, 'lvalue [[]][][] works';
}

Expand Down

0 comments on commit 4e91c07

Please sign in to comment.