Skip to content

Commit

Permalink
Just an :op<list> will suffice here... jnthn++ for feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
skids committed May 23, 2018
1 parent fc57f9f commit 7329760
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/Perl6/Actions.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -6397,12 +6397,8 @@ class Perl6::Actions is HLL::Actions does STDActions {
else {
%named_counts{$name} := %named_counts{$name} - 1;
unless $_[2].has_compile_time_value {
$past.push(QAST::Stmts.new($_[2],
QAST::Op.new(:op('callmethod'),
:name('FLATTENABLE_LIST'),
QAST::Op.new(:op('call'),
:name('&infix:<,>'))),
:flat(1)));
$past.push(QAST::Stmts.new(
$_[2], QAST::Op.new(:op('list')), :flat(1)));
}
}
}
Expand Down

0 comments on commit 7329760

Please sign in to comment.