lib/core: `u8char_len` is now public
authorLucas Bajolet <r4pass@hotmail.com>
Fri, 29 Apr 2016 17:10:22 +0000 (13:10 -0400)
committerLucas Bajolet <r4pass@hotmail.com>
Tue, 3 May 2016 01:59:34 +0000 (21:59 -0400)
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

lib/core/text/abstract_text.nit

index 7fb65ee..c15901e 100644 (file)
@@ -1756,7 +1756,7 @@ redef class Char
        end
 
        # Length of `self` in a UTF-8 String
-       private fun u8char_len: Int do
+       fun u8char_len: Int do
                var c = self.code_point
                if c < 0x80 then return 1
                if c <= 0x7FF then return 2