Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using multi-byte runes in comments, an error occurs. #699

Open
xxlv opened this issue Sep 29, 2024 · 1 comment
Open

When using multi-byte runes in comments, an error occurs. #699

xxlv opened this issue Sep 29, 2024 · 1 comment

Comments

@xxlv
Copy link

xxlv commented Sep 29, 2024

return makeToken(NAME, runePosition, endRune, string(body[position:endByte]))

Should i need update to makeToken(NAME, position, endByte, string(body[position:endByte]))?

When i use

{
f(#ok
a:1)}

Its fine

But change to

{
f(#世界
a:1)}

Got error.

@yvz5
Copy link

yvz5 commented Oct 15, 2024

I had the same error, created a bug fix for this #702 . pull request is waiting for approval but there are no maintainers active

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants