nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nullable: convert lib, tools and tests
[nit.git]
/
lib
/
standard
/
stream.nit
diff --git
a/lib/standard/stream.nit
b/lib/standard/stream.nit
index
3204e84
..
45c9f32
100644
(file)
--- a/
lib/standard/stream.nit
+++ b/
lib/standard/stream.nit
@@
-184,7
+184,7
@@
special IStream
redef meth eof do return _buffer_pos >= _buffer.length and end_reached
# The buffer
- attr _buffer: Buffer = null
+ attr _buffer: nullable Buffer = null
# The current position in the buffer
attr _buffer_pos: Int = 0