This is an automatically generated mail to inform you that tests are now available in t/spec/S04-declarations/my.t
commit 1614779058b7c8f759221f1614ba3fab04992895 Author: radus <ra...@c213334d-75ef-0310-aa23-eaa082d1ae64> Date: Sun Jun 27 09:20:19 2010 +0000 [t/spec] Added test for RT 72814 - Null PMC access when typing a my-declared variable as ::a in Rakudo. git-svn-id: http://svn.pugscode.org/p...@31475 c213334d-75ef-0310-aa23-eaa082d1ae64 diff --git a/t/spec/S04-declarations/my.t b/t/spec/S04-declarations/my.t index 6f23c04..25145f7 100644 --- a/t/spec/S04-declarations/my.t +++ b/t/spec/S04-declarations/my.t @@ -1,7 +1,7 @@ use v6; use Test; -plan 62; +plan 63; #L<S04/The Relationship of Blocks and Declarations/"declarations, all # lexically scoped declarations are visible"> @@ -247,4 +247,11 @@ eval_lives_ok 'my (%h?)', 'my (%h?) lives'; 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 + +{ + #?rakudo skip 'RT 72814' + lives_ok {my ::a $a}, 'typing a my-declared variable as ::a works.'; +} + # vim: ft=perl6