Skip to content

Remove the note that suggests using @unchecked #81738

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
May 23, 2025

Conversation

DougGregor
Copy link
Member

@DougGregor DougGregor commented May 23, 2025

@unchecked Sendable is dangerous, and almost always the wrong thing to use. Don't have the compiler suggest it.

`@unchecked Sendble` is dangerous, and almost always the wrong thing to
use. Don't have the compiler suggest it.
@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor
Copy link
Member Author

@twostraws this is your fault

@DougGregor DougGregor enabled auto-merge May 23, 2025 08:14
@DougGregor DougGregor merged commit 43f6fea into swiftlang:main May 23, 2025
3 checks passed
@DougGregor DougGregor deleted the no-unchecked branch May 23, 2025 13:05
ktoso added a commit to ktoso/swift that referenced this pull request Jul 15, 2025
The previous message was just suggesting unchecked Sendable, but instead
we should be suggesting to add final to the class. We also don't
outright suggest using unchecked Sendable -- following
swiftlang#81738 precedent.

Resolves rdar://155790695
ktoso added a commit to ktoso/swift that referenced this pull request Jul 15, 2025
The previous message was just suggesting unchecked Sendable, but instead
we should be suggesting to add final to the class. We also don't
outright suggest using unchecked Sendable -- following
swiftlang#81738 precedent.

Resolves rdar://155790695
ktoso added a commit to ktoso/swift that referenced this pull request Jul 16, 2025
The previous message was just suggesting unchecked Sendable, but instead
we should be suggesting to add final to the class. We also don't
outright suggest using unchecked Sendable -- following
swiftlang#81738 precedent.

Resolves rdar://155790695
susmonteiro pushed a commit to susmonteiro/swift that referenced this pull request Jul 17, 2025
The previous message was just suggesting unchecked Sendable, but instead
we should be suggesting to add final to the class. We also don't
outright suggest using unchecked Sendable -- following
swiftlang#81738 precedent.

Resolves rdar://155790695
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.

1 participant