Skip to content

vector: eliminate nils from vector.Dynamic returned by Apply#7009

Merged
nwt merged 2 commits into
mainfrom
vector-stitch-nil
Jun 1, 2026
Merged

vector: eliminate nils from vector.Dynamic returned by Apply#7009
nwt merged 2 commits into
mainfrom
vector-stitch-nil

Conversation

@nwt
Copy link
Copy Markdown
Member

@nwt nwt commented Jun 1, 2026

vector.Apply can return a Dynamic in which Dynamic.Values contains nils. It does this when the rip function's Dynamic parameter contains zero-length vectors, which is common with Unions. Since these nils can cause panics elsewhere, eliminate them in the stitch function.

vector.Apply can return a Dynamic in which Dynamic.Values contains nils.
It does this when the rip function's Dynamic parameter contains
zero-length vectors, which is common with Unions.  Since these nils can
cause panics elsewhere, eliminate them in the stitch function.
@nwt nwt requested a review from a team June 1, 2026 17:25
@nwt nwt merged commit 8ffc9b6 into main Jun 1, 2026
2 checks passed
@nwt nwt deleted the vector-stitch-nil branch June 1, 2026 18:52
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