Skip to content

Resolve various warnings that were recently introduced#1744

Merged
jmschonfeld merged 1 commit intoswiftlang:mainfrom
jmschonfeld:fix-warnings
Feb 12, 2026
Merged

Resolve various warnings that were recently introduced#1744
jmschonfeld merged 1 commit intoswiftlang:mainfrom
jmschonfeld:fix-warnings

Conversation

@jmschonfeld
Copy link
Contributor

While resolving a few specific warnings related to Sendable annotations, I noticed a handful of warnings introduced that can easily be resolved and decided to fix them.

Motivation:

Reduces the number of warnings when building foundation so that the set of produced warnings are more manageable and indicate true issues rather than spurious problems.

Modifications:

A variety of modifications to update the code based on the mentioned warnings

Result:

Resolves about 10-15 warnings overall

Testing:

Covered by existing unit test coverage

@jmschonfeld jmschonfeld requested a review from a team as a code owner February 12, 2026 20:48
@jmschonfeld
Copy link
Contributor Author

@swift-ci please test

Copy link
Contributor

@parkera parkera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Always appreciate less warnings, thank you.

@jmschonfeld
Copy link
Contributor Author

@swift-ci please test Windows platform

@jmschonfeld jmschonfeld merged commit 12f4ccc into swiftlang:main Feb 12, 2026
18 checks passed
@jmschonfeld jmschonfeld deleted the fix-warnings branch February 12, 2026 22:37
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