From baeef7a608f981ca3859866d59b5fbf1184ae14e Mon Sep 17 00:00:00 2001 From: Ruan Dias Date: Mon, 30 Oct 2023 00:49:34 -0300 Subject: [PATCH] Fix UTF8 len --- modules/ILL/ILL/UTF8.moon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ILL/ILL/UTF8.moon b/modules/ILL/ILL/UTF8.moon index 20a46ac..f39a0d4 100644 --- a/modules/ILL/ILL/UTF8.moon +++ b/modules/ILL/ILL/UTF8.moon @@ -20,7 +20,7 @@ class UTF8 charI += 1 return charI, s\sub currPos, sPos - 1 - len: (s) -> + len: => n = 0 for ci in @chars! n += 1