Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add :closed argument to IO::ArgFiles.lines iterator
  • Loading branch information
lucasbuchala committed Oct 30, 2015
1 parent cc9c7c1 commit d8f4f5b
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 d8f4f5b

Please sign in to comment.