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

Disambiguate nil and integer 0 in tagged pointers #52

Merged
merged 1 commit into from
Jun 29, 2022

Conversation

pliniker
Copy link
Member

Fixes #51 the easiest way by shuffling the tag ids such that nil (pointer value 0) and numeric 0 (with tag 0x0) are distinct values.

@pliniker pliniker merged commit 1ffeb47 into rust-hosted-langs:master Jun 29, 2022
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.

Tagged Pointer: Nil == 0?
1 participant