Skip to content

Fix issues with int range unpacking and with min/max#7699

Merged
weirdan merged 1 commit intovimeo:masterfrom
AndrolGenhald:bugfix/int-range-unpacking
Feb 18, 2022
Merged

Fix issues with int range unpacking and with min/max#7699
weirdan merged 1 commit intovimeo:masterfrom
AndrolGenhald:bugfix/int-range-unpacking

Conversation

@AndrolGenhald
Copy link
Copy Markdown
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
}

if ($array_creation_info->item_key_atomic_types) {
$item_key_type = TypeCombiner::combine(
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants