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

Fix String/decode_utf8 returning a non-empty string when given an empty list #726

Merged

Conversation

chalcolith
Copy link
Contributor

Previously calling (String/decode_utf8 []) would return "\0". This PR makes it return "", adds this case to utf8.bend and updates the snapshot.

Fixes #701

…mpty list (HigherOrderCO#701)

Previously calling `(String/decode_utf8 [])` would return `"\0"`.  This PR makes it return `""`.  Adds this case to `utf8.bend` and updated the snapshot.

Fixes HigherOrderCO#701
@developedby developedby added this pull request to the merge queue Oct 9, 2024
@developedby
Copy link
Member

Thank you for the fix!

Merged via the queue into HigherOrderCO:main with commit 9da1f49 Oct 9, 2024
5 checks passed
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

Successfully merging this pull request may close these issues.

String/decode_utf8 returns "\0" when decoding a empty List
2 participants