stdlib/strings: Reunited super StringCapable under Text.
authorLucas Bajolet <r4pass@hotmail.com>
Thu, 6 Mar 2014 19:19:31 +0000 (14:19 -0500)
committerLucas Bajolet <r4pass@hotmail.com>
Mon, 24 Mar 2014 17:09:00 +0000 (13:09 -0400)
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

lib/standard/string.nit

index 1176e04..4b79b03 100644 (file)
@@ -28,6 +28,7 @@ intrude import collection # FIXME should be collection::array
 # High-level abstraction for all text representations
 abstract class Text
        super Comparable
+       super StringCapable
 
        redef type OTHER: Text
 
@@ -579,7 +580,6 @@ end
 # Immutable strings of characters.
 class String
        super FlatText
-       super StringCapable
 
        redef type SELFTYPE: String
        redef type SELFVIEW: FlatStringCharView
@@ -940,7 +940,6 @@ end
 # Mutable strings of characters.
 class FlatBuffer
        super FlatText
-       super StringCapable
        super Buffer
 
        redef type SELFVIEW: FlatBufferCharView