nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
model: add `MEntity::is_broken`
[nit.git]
/
lib
/
core
/
stream.nit
diff --git
a/lib/core/stream.nit
b/lib/core/stream.nit
index
799d130
..
b4a0e2b
100644
(file)
--- a/
lib/core/stream.nit
+++ b/
lib/core/stream.nit
@@
-441,7
+441,7
@@
abstract class BufferedReader
return null
end
# TODO: Fix when supporting UTF-8
- var c = _buffer[_buffer_pos].to_i.ascii
+ var c = _buffer[_buffer_pos].to_i.code_point
_buffer_pos += 1
return c
end