Skip to content

Split out the Tuple type from the Record type#210

Merged
alexcrichton merged 1 commit intobytecodealliance:mainfrom
alexcrichton:tuple-type
May 2, 2022
Merged

Split out the Tuple type from the Record type#210
alexcrichton merged 1 commit intobytecodealliance:mainfrom
alexcrichton:tuple-type

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 theahaco/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