-
Notifications
You must be signed in to change notification settings - Fork 161
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
Add a paragraph about pack iteration [SE-0408] #206
Conversation
Thanks for the draft! I think this change is small enough to land in the reference on its own. Separately, we can add EDIT: I see the linked implementation PR is merging into 'main', which would include this functionality in Swift 6. We'll want to keep this branch open until the feature is lined up to ship in the next Swift beta, which often means waiting for the implementation to be cherry-picked into the 'release/5.10' branch. |
@amartini51 Great, thank you! I don't think there are any more things I'd like to add here, so marking this "ready for review"🙂 |
If you don't mind, I'm moving this back to Draft until the compiler implementation lands. We wouldn't want to ship documentation for a feature that developers can't use yet. |
The compiler PR has been merged to 'main' so marking this ready for review. We may need to not actually merge it yet though — the SE proposal says it's for the next version of Swift after 5.10. |
Yes, let's wait until the feature is shipped🙂 |
@simanerush SE-0408 is marked as implemented in Swift 6.0 now — is this PR still ready to review, or is there anything you want to revise? |
Cherry-picked from swiftlang#206
Cherry picked this PR's changes as 07b58ed — we will coordinate making both sets of changes on one branch. |
Add information to the
for
-in
statement that the expression may also be a pack expansion expression, according to SE-0408.Marking this draft for now, but hoping to get this merged once #67594 lands.