Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
implement the rest of require + indirect lookup
  • Loading branch information
moritz committed Jan 7, 2013
1 parent e67fa90 commit c072f82
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/Perl6/World.pm
Expand Up @@ -1554,7 +1554,14 @@ class Perl6::World is HLL::World {
return @!components[0];
}
else {
nqp::die("Not yet implemented :(");
my $past := QAST::Op.new(:op<call>, :name('&infix:<,>'));
for @!components {
$past.push: $_ ~~ QAST::Node ?? $_ !! QAST::SVal.new(:value($_));
}
return QAST::Op.new(:op<callmethod>, :name<join>,
$past,
QAST::SVal.new(:value<::>)
);
}
}
else {
Expand Down

0 comments on commit c072f82

Please sign in to comment.