Skip to content

Commit

Permalink
Fix UTF8 len
Browse files Browse the repository at this point in the history
  • Loading branch information
klsruan committed Oct 30, 2023
1 parent 0dd3d87 commit baeef7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ILL/ILL/UTF8.moon
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit baeef7a

Please sign in to comment.