Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make $handle.words(:!close) a NYI for now
  • Loading branch information
lizmat committed Sep 24, 2015
1 parent da382ed commit 26cf7ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/IO/Handle.pm
Expand Up @@ -156,6 +156,9 @@ my class IO::Handle does IO {

proto method words (|) { * }
multi method words(IO::Handle:D: :$close) {
X::NYI.new(feature => "'words' without closing the file handle").throw
if !$close;

Seq.new(class :: does Iterator {
has $!handle;
has $!close;
Expand Down

0 comments on commit 26cf7ae

Please sign in to comment.