From 9ac6d7993eb2c26d15155ad03682e127f95b9f8e Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Mon, 9 Sep 2013 10:51:16 -0400 Subject: [PATCH] ropes: do not use String.with_native Signed-off-by: Jean Privat --- lib/standard/ropes.nit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/standard/ropes.nit b/lib/standard/ropes.nit index 3aa9771..49453ab 100644 --- a/lib/standard/ropes.nit +++ b/lib/standard/ropes.nit @@ -87,7 +87,7 @@ abstract class Rope iter.next end - return new String.with_native(native_final_str, length) + return native_final_str.to_s_with_length(length) end # Gets a node containing the substring to seek the char at the require position -- 1.7.9.5