Skip to content

Commit 203fcbe

Browse files
chrisseatongilles-duboscq
authored andcommitted
Provide a fallback implementation of IO#nread
(cherry picked from commit f6617de)
1 parent b6da614 commit 203fcbe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/truffle/io/wait.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88

99
class IO
1010
def nread
11-
raise NotImplementedError
11+
# TODO CS 14-Apr-18 provide a proper implementation
12+
0
1213
end
1314

1415
def ready?

0 commit comments

Comments
 (0)