Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make the join sub avoid boxing.
  • Loading branch information
jnthn committed May 4, 2015
1 parent 8437c84 commit f8baa95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/IO.nqp
Expand Up @@ -68,8 +68,8 @@ sub note(*@args) {
}

sub join($delim, @things) {
my @strs;
for @things { nqp::push(@strs, ~$_) }
my @strs := nqp::list_s();
for @things { nqp::push_s(@strs, ~$_) }
nqp::join($delim, @strs)
}

Expand Down

0 comments on commit f8baa95

Please sign in to comment.