Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
GLR-ify S12-methods/accessors.t
  • Loading branch information
moritz committed Aug 22, 2015
1 parent 38a5b8c commit ecc7a5f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions S12-methods/accessors.t
Expand Up @@ -13,8 +13,8 @@ class A {
}
method test-scalar-a {
my $x = 0;
$x++ for $.a;
$x;
$x++ for flat 0, $.a;
$x - 1;
}
method test-list-b {
my $x = 0;
Expand All @@ -23,8 +23,8 @@ class A {
}
method test-scalar-b {
my $x = 0;
$x++ for $.b;
$x;
$x++ for flat 0, $.b;
$x - 1;
}
method test-hash-a {
my $x = 0;
Expand Down

0 comments on commit ecc7a5f

Please sign in to comment.