nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/serialization: adds a method to detect unserializable type
[nit.git]
/
lib
/
standard
/
ropes.nit
diff --git
a/lib/standard/ropes.nit
b/lib/standard/ropes.nit
index
3aa9771
..
49453ab
100644
(file)
--- a/
lib/standard/ropes.nit
+++ b/
lib/standard/ropes.nit
@@
-87,7
+87,7
@@
abstract class Rope
iter.next
end
- return new String.with_native(native_final_str, length)
+ return native_final_str.to_s_with_length(length)
end
# Gets a node containing the substring to seek the char at the require position