Skip to content

[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

Merged
merged 1 commit into from
Sep 12, 2020
Merged

[Changelog] Add SE-0284 #33828

merged 1 commit into from
Sep 12, 2020

Conversation

owenv
Copy link
Contributor

@owenv owenv commented Sep 5, 2020

Follow-up to #29735

@owenv
Copy link
Contributor Author

owenv commented Sep 5, 2020

@swift-ci smoke test

@owenv
Copy link
Contributor Author

owenv commented Sep 5, 2020

cc @rintaro

@owenv
Copy link
Contributor Author

owenv commented Sep 5, 2020

@swift-ci please smoke test

func foo(_ a: Int..., b: Double...) { }

struct Bar {
subscript(a: Int..., b b: Int...) -> [Int] { a + b }
Copy link
Contributor

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?

Copy link
Contributor Author

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

@CodaFi
Copy link
Contributor

CodaFi commented Sep 11, 2020

Please fix the conflict here, then we can get this merged.

@owenv
Copy link
Contributor Author

owenv commented Sep 11, 2020

Ah, sorry, been busy this week and hadn't gotten around to updating this

@swift-ci please smoke test and merge

@owenv
Copy link
Contributor Author

owenv commented Sep 11, 2020

@swift-ci please smoke test

@owenv
Copy link
Contributor Author

owenv commented Sep 11, 2020

@swift-ci smoke test

@owenv owenv merged commit 6f68c4c into swiftlang:master Sep 12, 2020
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.

4 participants