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

Implement the callee side of returning a tuple containing a pack expansion #64135

Merged
merged 2 commits into from Mar 6, 2023

Conversation

rjmccall
Copy link
Member

@rjmccall rjmccall commented Mar 6, 2023

This required quite a bit of infrastructure for emitting this kind of tuple expression, although I'm not going to claim they really work yet; in particular, I know the RValue constructor is going to try to explode them, which it really shouldn't.

It also doesn't include the caller side of returns, for which I'll need to teach ResultPlan to do the new abstraction-pattern walk. But that's next.

…nsion.

This required quite a bit of infrastructure for emitting this kind of
tuple expression, although I'm not going to claim they really work yet;
in particular, I know the RValue constructor is going to try to explode
them, which it really shouldn't.

It also doesn't include the caller side of returns, for which I'll need
to teach ResultPlan to do the new abstraction-pattern walk.  But that's
next.
@rjmccall
Copy link
Member Author

rjmccall commented Mar 6, 2023

@swift-ci Please test

@rjmccall rjmccall merged commit d7123c7 into apple:main Mar 6, 2023
@rjmccall rjmccall deleted the variadic-generic-callee-results branch March 6, 2023 16:11
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.

None yet

1 participant