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

Enable fully-unboxed Variants #221

Merged
merged 6 commits into from
Feb 27, 2024
Merged

Enable fully-unboxed Variants #221

merged 6 commits into from
Feb 27, 2024

Conversation

btwj
Copy link
Contributor

@btwj btwj commented Feb 15, 2024

This PR extends VariantNorm to support fully unboxed variants, i.e. every single case is fully unboxed as scalars.

@btwj btwj marked this pull request as ready for review February 15, 2024 06:52
@btwj
Copy link
Contributor Author

btwj commented Feb 27, 2024

Rebased to incorporate new unboxing tests in CI

Copy link
Owner

@titzer titzer left a comment

Choose a reason for hiding this comment

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

lgtm, can you also bump the version number?

match (t) {
x: ClassType => return true;
x: ArrayType => return true;
_ => return false;
Copy link
Owner

Choose a reason for hiding this comment

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

Can you add an XXX here? I think FUNCREF will be OK here. (I would suggest adding it now, but there aren't tests for it yet, so better to be conservative to land this).

@titzer titzer merged commit 02fee12 into titzer:master Feb 27, 2024
7 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.

2 participants