X-Git-Url: http://nitlanguage.org diff --git a/lib/buffered_ropes.nit b/lib/buffered_ropes.nit index 9a143ca..1114264 100644 --- a/lib/buffered_ropes.nit +++ b/lib/buffered_ropes.nit @@ -66,10 +66,10 @@ end # # Basically just returns `self` encapsulated in a `FlatString`. private class LeafSubstrings - super IndexedIterator[Text] + super IndexedIterator[FlatText] var leaf: Leaf - var str: String is noinit + var str: FlatString is noinit var avail = true init do @@ -89,8 +89,8 @@ end private class Leaf super RopeString - private var buf: ManualBuffer - private var bns: NativeString is noinit + var buf: ManualBuffer + var bns: NativeString is noinit redef var length: Int is noinit redef fun empty do return new Leaf(new ManualBuffer)