Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #567 from lucasbuchala/nom
Add :close argument to IO::ArgFiles.lines iterator
  • Loading branch information
lizmat committed Oct 30, 2015
2 parents 192a3ff + d8f4f5b commit c0c452f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/IO/ArgFiles.pm
Expand Up @@ -83,7 +83,7 @@ my class IO::ArgFiles is IO::Handle {
my $io = $!next-io.();
return $io if nqp::istype($io, Failure);
return IterationEnd unless $io.defined;
$!iter := $io.lines.iterator;
$!iter := $io.lines(:close).iterator;
self.pull-one;
}
else {
Expand Down

0 comments on commit c0c452f

Please sign in to comment.