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

Boolean unwrapping fix #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

strangepete
Copy link

@strangepete strangepete commented Oct 15, 2024

Booleans are unwrapped with janet_unwrap_integer, which for some reason results in a value of -2,147,483,648 (upper 32 bits set.) Testing on three separate amd64 systems, swapping this out for janet_unwrap_boolean fixes the issue. Also added a bool test just in case.

Janet 1.35.2, 1.36.0-dev
openbsd 7.4 - NUC, celeron 847
windows 10 - i7-8700
ubuntu 22.04 lxc - proxmox, i5-8500

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.

2 participants