Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix END handling, to win back another test.
  • Loading branch information
jnthn committed Jul 9, 2012
1 parent a466813 commit 3595580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QPerl6/World.pm
Expand Up @@ -1330,7 +1330,7 @@ class QPerl6::World is HLL::World {
elsif $phaser eq 'END' {
$*UNIT[0].push(QAST::Op.new(
:op('callmethod'), :name('unshift'),
PAST::Var.new( :name('@*END_PHASERS'), :scope('contextual') ),
QAST::Var.new( :name('@*END_PHASERS'), :scope('contextual') ),
QAST::WVal.new( :value($block) )
));
return QAST::Var.new(:name('Nil'), :scope('lexical'));
Expand Down

0 comments on commit 3595580

Please sign in to comment.