Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make a list into list_s in QAST/Compiler.nqp.
  • Loading branch information
arnsholt committed Mar 30, 2013
1 parent 17e5ba6 commit fbe94c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/QAST/Operations.nqp
Expand Up @@ -1215,8 +1215,8 @@ QAST::Operations.add_core_op('handle', -> $qastcomp, $op {
$num_pops := $num_pops + 1;
}
if @other {
my @hnames;
for @other { nqp::push(@hnames, %handler_names{$_}); }
my @hnames := nqp::list_s();
for @other { nqp::push_s(@hnames, %handler_names{$_}); }
$other_label := PIRT::Label.new(:name($qastcomp.unique('catch_handler_')));
$ops.push_pirop('new', $reg, "'ExceptionHandler'",
"[" ~ nqp::join(", ", @hnames) ~ "]");
Expand Down

0 comments on commit fbe94c9

Please sign in to comment.