Skip to content

fuse named types by name inside unions#6794

Closed
mccanne wants to merge 1 commit intomainfrom
fuse-named
Closed

fuse named types by name inside unions#6794
mccanne wants to merge 1 commit intomainfrom
fuse-named

Conversation

@mccanne
Copy link
Copy Markdown
Collaborator

@mccanne mccanne commented Apr 4, 2026

This commit changes how named types inside of unions are handled by type fusion where we now fuse named types by name. This will allow for improvements to the type checker to enhance soundness and when we add recursive types, this will allow for the fusion of the underlying concrete types of a recursive sum type to be fused without changing the type signature of that named type.

@mccanne mccanne changed the title fused named types by name inside unions fuse named types by name inside unions Apr 4, 2026
@mccanne mccanne force-pushed the fuse-named branch 2 times, most recently from adf3df4 to 95ec8dc Compare April 4, 2026 13:46
This commit changes how named types inside of unions are handled by type fusion
where we now fuse named types by name.  This will allow for improvements to the
type checker to enhance soundness and when we add recursive types, this will
allow for the fusion of the underlying concrete types of a recursive sum type to
be fused without changing the type signature of that named type.
@mccanne
Copy link
Copy Markdown
Collaborator Author

mccanne commented Apr 4, 2026

This isn't quite right yet...

@mccanne mccanne closed this Apr 4, 2026
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.

1 participant