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

remove cache after unsetting a key from a TKeyedArray #6346

Merged
merged 1 commit into from
Aug 19, 2021

Conversation

orklah
Copy link
Collaborator

@orklah orklah commented Aug 19, 2021

This fixes #6343

Interestingly, Union::getId() have a cache that is resetted after adding or removing a type, but when we unset an offset from a TKeyedArray, this cache was kept as is. So everywhere we needed to display the type (including Trace) was displaying the old Id

@weirdan weirdan merged commit 65f34d0 into vimeo:master Aug 19, 2021
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.

unset doesn't change array shape
2 participants