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

Split out the Tuple type from the Record type #210

Merged
merged 1 commit into from
May 2, 2022

Conversation

alexcrichton
Copy link
Member

This makes the tuple type a dedicated type in the type system which
splits the lifting/lowerings for code generators. This ends up
simplifying most code generators since they already had an if/else
handling for most Record types for tuples and not-tuples.

This makes the `tuple` type a dedicated type in the type system which
splits the lifting/lowerings for code generators. This ends up
simplifying most code generators since they already had an if/else
handling for most `Record` types for tuples and not-tuples.
@alexcrichton alexcrichton mentioned this pull request Apr 29, 2022
21 tasks
@alexcrichton alexcrichton merged commit 744d5dd into bytecodealliance:main May 2, 2022
@alexcrichton alexcrichton deleted the tuple-type branch May 2, 2022 14:02
willemneal pushed a commit to AhaLabs/wit-bindgen that referenced this pull request May 31, 2022
This makes the `tuple` type a dedicated type in the type system which
splits the lifting/lowerings for code generators. This ends up
simplifying most code generators since they already had an if/else
handling for most `Record` types for tuples and not-tuples.
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