From b2a9432c14bc4d61ef8c27b097c3a45c22a1133a Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Fri, 30 Jan 2015 16:03:44 +0700 Subject: [PATCH] string: fix SELFTYPE in String and Buffer Signed-off-by: Jean Privat --- lib/standard/string.nit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/standard/string.nit b/lib/standard/string.nit index 505ae08..42f6b04 100644 --- a/lib/standard/string.nit +++ b/lib/standard/string.nit @@ -877,7 +877,7 @@ end abstract class String super Text - redef type SELFTYPE: String + redef type SELFTYPE: String is fixed redef fun to_s do return self @@ -1399,7 +1399,7 @@ end abstract class Buffer super Text - redef type SELFTYPE: Buffer + redef type SELFTYPE: Buffer is fixed # Specific implementations MUST set this to `true` in order to invalidate caches protected var is_dirty = true -- 1.7.9.5