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 issues with int range unpacking and with min/max #7699

Merged
merged 1 commit into from Feb 18, 2022

Conversation

AndrolGenhald
Copy link
Collaborator

Fixes #1820, fixes #7697.

@AndrolGenhald AndrolGenhald added the release:fix The PR will be included in 'Fixes' section of the release notes label Feb 18, 2022

return true;
}

if ($array_creation_info->item_key_atomic_types) {
$item_key_type = TypeCombiner::combine(
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This actually changes min_bound and max_bound of the types it's combining... and this is why one of my long-term goals with my type comparison rewrite is to move types closer towards being immutable.

@weirdan weirdan merged commit 97bd81c into vimeo:master Feb 18, 2022
@weirdan
Copy link
Collaborator

weirdan commented Feb 18, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:fix The PR will be included in 'Fixes' section of the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants