Skip to content

Commit 62393e8

Browse files
authored
Fix infinite recursion. (#82)
1 parent b8a12cb commit 62393e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/file.toit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ class Stream extends Object with io.CloseableInMixin io.CloseableOutMixin implem
165165
Use $read-contents instead.
166166
*/
167167
read-content name:
168-
return read-content name
168+
return read-contents name
169169

170170
/**
171171
Reads the content of a file.

0 commit comments

Comments
 (0)