Skip to content

[6.2][sema] Change non-sendable -> non-Sendable in diagnostics. #81748

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 2 commits into from
May 27, 2025

Conversation

gottesmm
Copy link
Contributor

@gottesmm gottesmm commented May 23, 2025

Explanation: This change just standardizes diagnostics to use non-Sendable instead of non-sendable.

Scope: This just changes the wording of some diagnostics.

Resolves: rdar://151802975

Main PR: #81691

Risk: Low. This just changes the wording of compiler diagnostics.

Testing: Updated all tests that exercise these diagnostics. Also validated that no more usages of "non-sendable" exist in the compiler test suite or in the compiler diagnostic .def files.

Reviewer: @xedin

gottesmm added 2 commits May 23, 2025 10:31
This matches send non sendable but importantly also makes it clear that we are
talking about something that doesn't conform to the Sendable protocol which is
capitalized.

rdar://151802975
(cherry picked from commit 3ed4059)
These were changes that were not updated in the previous commit due to merge conflict
resolution or that the test itself was not in 6.2.
@gottesmm
Copy link
Contributor Author

@swift-ci test

@gottesmm gottesmm marked this pull request as ready for review May 26, 2025 17:12
@gottesmm gottesmm requested a review from a team as a code owner May 26, 2025 17:12
@gottesmm gottesmm merged commit 81b94e2 into swiftlang:release/6.2 May 27, 2025
5 checks passed
@gottesmm gottesmm deleted the release/6.2-151802975 branch May 27, 2025 15:19
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