Skip to content

Pack expansion closures part 7 #74020

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

Merged

Conversation

slavapestov
Copy link
Contributor

@slavapestov slavapestov commented May 30, 2024

Follow-up to #73712. This implements support for the case where a PackElementExpr is directly captured by a closure, eg repeat foo { each t }.

Fixes #68941.
Fixes #69282.
Fixes #72153.
Fixes rdar://110711746.
Fixes rdar://119212867.
Fixes rdar://124202697.

@slavapestov slavapestov force-pushed the pack-expansion-closures-part-7 branch from 9c2bc1f to 25ff6b3 Compare May 30, 2024 19:58
@slavapestov slavapestov marked this pull request as ready for review May 30, 2024 19:58
@slavapestov slavapestov requested review from hborla and xedin as code owners May 30, 2024 19:59
@slavapestov slavapestov force-pushed the pack-expansion-closures-part-7 branch from 25ff6b3 to 8a7f0b8 Compare May 30, 2024 20:39
@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

@slavapestov
Copy link
Contributor Author

@swift-ci Please test source compatibility

@slavapestov slavapestov merged commit 0d4ff45 into swiftlang:main May 31, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant