Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Little fix to BEGIN-time symbol handling.
  • Loading branch information
jnthn committed Jul 12, 2011
1 parent 38b4f24 commit fd4005c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Perl6/SymbolTable.pm
Expand Up @@ -766,9 +766,10 @@ class Perl6::SymbolTable is HLL::Compiler::SerializationContextBuilder {
}
if $ref {
$wrapper[0].push(PAST::Var.new(
:name($_.key), :scope('lexical'), :isdecl(1),
:name($_.key), :scope('lexical_6model'), :isdecl(1),
:viviself($ref)
));
$wrapper.symbol($_.key, :scope('lexical_6model'));
}
}
}
Expand Down

0 comments on commit fd4005c

Please sign in to comment.