Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[S04/my.t] fix and unfudge passing test for RT #63588 (global vars vi…
…sible inside class)
  • Loading branch information
Fitz Elliott committed Jan 31, 2011
1 parent aeb686f commit 3a34f01
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions S04-declarations/my.t
Expand Up @@ -249,8 +249,7 @@ my $z = 42;
eval_lives_ok 'my (%h?)', 'my (%h?) lives';

#RT 63588
#?rakudo todo 'global my variables are not visible inside class declarations'
eval_lives_ok 'my $x = 3; class A { has .$y = $x; }; say A.new.y',
eval_lives_ok 'my $x = 3; class A { has $.y = $x; }; say A.new.y',
'global scoped variables are visible inside class definitions';

#RT #72814
Expand Down

0 comments on commit 3a34f01

Please sign in to comment.