Skip to content

handle named types in defuse()#6767

Merged
nwt merged 3 commits intomainfrom
defuse-named
Mar 25, 2026
Merged

handle named types in defuse()#6767
nwt merged 3 commits intomainfrom
defuse-named

Conversation

@nwt
Copy link
Member

@nwt nwt commented Mar 25, 2026

Depends on #6766.

nwt added 2 commits March 25, 2026 00:03
Casting a value with a named type to a fusion type discards the name.
Preseve it in the resulting fusion value instead.

This change affects both upcast() and the fuse operator since it upcasts
every value.

This change does not affect the blend operator but I've added the same
test cases to both runtime/ztests/op/blend.yaml and
runtime/ztests/op/fuse.yaml to keep them in sync.
@nwt nwt requested a review from a team March 25, 2026 13:39
Base automatically changed from upcast-named to main March 25, 2026 16:52
@nwt nwt merged commit 075db3f into main Mar 25, 2026
2 checks passed
@nwt nwt deleted the defuse-named branch March 25, 2026 16:57
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