Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[S03-junctions/autothreading] Use our to avoid testing unrelated prot…

…olexpad handling
  • Loading branch information...
commit a2ccce2ecf6a85f01a6277f81f71b9ca5f9a0fa1 1 parent 1b51b3a
@sorear sorear authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 S03-junctions/autothreading.t
View
4 S03-junctions/autothreading.t
@@ -171,13 +171,13 @@ plan 83;
{
# Auto-threading over an invocant.
- my $cnt1 = 0;
+ our $cnt1 = 0;
class JuncInvTest1 {
method a { $cnt1++; }
has $.n;
method d { 2 * $.n }
}
- my $cnt2 = 0;
+ our $cnt2 = 0;
class JuncInvTest2 {
method a { $cnt2++; }
method b($x) { $cnt2++ } #OK not used
Please sign in to comment.
Something went wrong with that request. Please try again.