Skip to content

vam.defuse: Fix bug with fusion vals in arrays/sets#7030

Open
mattnibs wants to merge 1 commit into
mainfrom
defuse-array-fusion-elem
Open

vam.defuse: Fix bug with fusion vals in arrays/sets#7030
mattnibs wants to merge 1 commit into
mainfrom
defuse-array-fusion-elem

Conversation

@mattnibs
Copy link
Copy Markdown
Collaborator

@mattnibs mattnibs commented Jun 4, 2026

If the fusion elements resolves to the same type of another element in the array/set this was resulting in array with duplicate types in its inner union. This commit fixes this by merging same typed vectors after defusing an array or set's inner elements.

If the fusion elements resolves to the same type of another element
in the array/set this was resulting in array with duplicate types in its
inner union. This commit fixes this by merging same typed vectors after
defusing an array or set's inner elements.
@mattnibs mattnibs requested a review from a team June 4, 2026 20:35
Comment on lines +282 to +283
# Verify that a defuse on an array/set with a fusion value reset the appropriate
# inner type.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What do you mean by "reset the appropriate inner type"?

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.

I have no idea!

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