Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix codegen for call to &REQUIRE_IMPORT
  • Loading branch information
moritz committed Jun 10, 2012
1 parent 3605d62 commit 60a9808
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Perl6/Actions.pm
Expand Up @@ -836,7 +836,8 @@ class Perl6::Actions is HLL::Actions {
my $lexpad := $*W.cur_lexpad();
my $*SCOPE := 'my';
my $import_past := PAST::Op.new(:node($/), :pasttype<call>,
:name<&REQUIRE_IMPORT>);
:name<&REQUIRE_IMPORT>,
$name_past);
for $arglist {
my $symbol := nqp::unbox_s($_.Str());
$*W.throw($/, ['X', 'Redeclaration'], :$symbol)
Expand Down

0 comments on commit 60a9808

Please sign in to comment.