Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix bug in interactive mode introduced by @*ARGS changes.
  • Loading branch information
pmichaud committed Jul 25, 2011
1 parent 512670d commit 3c8f0b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Compiler.nqp
Expand Up @@ -5,7 +5,7 @@ class Perl6::Compiler is HLL::Compiler {
method command_eval(*@args, *%options) {
my $hll_ns := pir::get_root_global__Ps('perl6');
my $argiter := nqp::iterator(@args);
nqp::shift($argiter) unless pir::defined(%options<e>);
nqp::shift($argiter) if $argiter && !pir::defined(%options<e>);
$hll_ns<$!ARGITER> := $argiter;
my $super := pir::find_method__PPs(HLL::Compiler, 'command_eval');
$super(self, |@args, |%options);
Expand Down

0 comments on commit 3c8f0b6

Please sign in to comment.