Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fudged for niecza
  • Loading branch information
FROGGS committed Apr 1, 2013
1 parent b0e6796 commit cf7ea4f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions S04-declarations/our.t
Expand Up @@ -50,12 +50,15 @@ our $c = 42; #OK not used
our $d3 = 9;
}
{
#?niecza skip 'our-scoped vars NYI'
is($d3, 9, "variables are seen within other lexical child blocks");

package D3 {
#?niecza skip 'our-scoped vars NYI'
is($d3, 9, " ... and from within child packages");
}
}
#?niecza skip 'our-scoped vars NYI'
is($d3, 9, "variables leak from lexical blocks");
}
eval_dies_ok('$d2', 'our() variable not yet visible outside its package');
Expand Down

0 comments on commit cf7ea4f

Please sign in to comment.