Skip to content

fixes label-less method parameter #979

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

Closed
wants to merge 1 commit into from

Conversation

MartinP7r
Copy link

The following code samples all use append(_:) without the value: label and since Swift 3 (https://github.com/apple/swift-evolution/blob/master/proposals/0046-first-label.md) this has to be implemented with a preceding _ in the function signature.

Checklist

Description

This is an update to one of the source code samples.
Your README.md states compatibility with Swift4.2, so this change from Swift 3 is warranted, I hope.
Feel free to deny the PR if I should have overlooked something.

The following code samples all use `append(_:)` without the `value:` label and since Swift 3 (https://github.com/apple/swift-evolution/blob/master/proposals/0046-first-label.md) this has to be implemented with a preceding `_` in the function signature.
@MartinP7r MartinP7r closed this Feb 16, 2022
@iiicey
Copy link

iiicey commented Feb 16, 2022 via email

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.

2 participants