typing: factorize AEqExpr and ANeExpr into AEqFormExpr
[nit.git] / lib / buffered_ropes.nit
index 1114264..06b2415 100644 (file)
@@ -22,7 +22,7 @@
 # and reallocations when concatenating `String` objects.
 module buffered_ropes
 
-intrude import standard::ropes
+intrude import standard::text::ropes
 
 # Hidden buffer, used to simulate a `FlatBuffer` on a short string.
 #
@@ -87,7 +87,8 @@ end
 
 # Leaf of a `Rope`, used as a buffered area for speedy concatenation.
 private class Leaf
-       super RopeString
+       super String
+       super Rope
 
        var buf: ManualBuffer
        var bns: NativeString is noinit