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

pack _|_ = undefined# #552

Merged
merged 2 commits into from
Mar 25, 2019
Merged

pack _|_ = undefined# #552

merged 2 commits into from
Mar 25, 2019

Conversation

christiaanb
Copy link
Member

Ensures that packing something that throws an XException doesn't throw an XException itself, but creates a BitVector with it's "undfinedness" bitmask set to all 1's.

So:

pack XException = undefined#
pack _|_ = _|_

@martijnbastiaan
Copy link
Member

Makes sense! And LGTM. A test case should make sure we can pack undefined things and don't regress in the future.

@jonfowler
Copy link
Contributor

Nice!

@christiaanb christiaanb removed the WIP label Mar 25, 2019
@christiaanb christiaanb merged commit 6370c76 into master Mar 25, 2019
@christiaanb christiaanb deleted the bitpack-undefined branch March 25, 2019 10:50
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.

None yet

3 participants