Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix an $/ handling issue, which fixes two more of the Rakudo spectest…
… file regressions.
  • Loading branch information
jnthn committed Aug 31, 2012
1 parent 9e875a2 commit a94c294
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/NQP/Actions.pm
Expand Up @@ -524,7 +524,9 @@ class NQP::Actions is HLL::Actions {
my $past;
if $<postcircumfix> {
$past := $<postcircumfix>.ast;
$past.unshift( QAST::Var.new( :name('$/'), :scope('lexical') ) );
$past.unshift(QAST::VarWithFallback.new(
:name('$/'), :scope('lexical'), :fallback(default_for('$'))
));
}
else {
my @name := NQP::Compiler.parse_name(~$/);
Expand Down

0 comments on commit a94c294

Please sign in to comment.