Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix class A { my $.x = 42 } scoping on MoarVM.
  • Loading branch information
jnthn committed Jul 9, 2014
1 parent 178c8e7 commit 95f540d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Perl6/Actions.nqp
Expand Up @@ -2404,6 +2404,7 @@ class Perl6::Actions is HLL::Actions does STDActions {
# Generate and install code block for accessor.
my $a_past := $*W.push_lexpad($/);
$a_past.name($meth_name);
$a_past.blocktype('declaration_static');
$a_past.push($var_past);
$*W.pop_lexpad();
$install_in[0].push($a_past);
Expand Down

0 comments on commit 95f540d

Please sign in to comment.