From: Lucas Bajolet Date: Thu, 6 Mar 2014 19:19:31 +0000 (-0500) Subject: stdlib/strings: Reunited super StringCapable under Text. X-Git-Tag: v0.6.5~7^2~3^2~13 X-Git-Url: http://nitlanguage.org?hp=1abc34f160bb510bd804e37df4f30e4ebdae71fe stdlib/strings: Reunited super StringCapable under Text. Signed-off-by: Lucas Bajolet --- diff --git a/lib/standard/string.nit b/lib/standard/string.nit index 1176e04..4b79b03 100644 --- a/lib/standard/string.nit +++ b/lib/standard/string.nit @@ -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