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 bug with chars packed into BValue #1289

Merged
merged 1 commit into from
Dec 2, 2024
Merged

Conversation

johnynek
Copy link
Owner

@johnynek johnynek commented Dec 2, 2024

No description provided.

@@ -69,7 +69,7 @@ BValue bsts_unit_value() {
}

BValue bsts_char_from_code_point(int codepoint) {
return (BValue)PURE_VALUE(codepoint);
return (BValue)TO_PURE_VALUE(codepoint);
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was the bug... very easy to make bugs without the compiler to check things.

@johnynek johnynek merged commit 7225c30 into main Dec 2, 2024
8 checks passed
@johnynek johnynek deleted the oscar/20241202-fix_char branch December 2, 2024 18:08
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.

1 participant