-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Changelog] Add SE-0284 #33828
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
[Changelog] Add SE-0284 #33828
Conversation
@swift-ci smoke test |
cc @rintaro |
@swift-ci please smoke test |
func foo(_ a: Int..., b: Double...) { } | ||
|
||
struct Bar { | ||
subscript(a: Int..., b b: Int...) -> [Int] { a + b } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are there two bs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
subscript parameters are unlabeled by default, so the second parameter needs an explicit label since it follows a variadic parameter
Please fix the conflict here, then we can get this merged. |
7bf8507
to
f234da6
Compare
Ah, sorry, been busy this week and hadn't gotten around to updating this @swift-ci please smoke test and merge |
@swift-ci please smoke test |
@swift-ci smoke test |
Follow-up to #29735