Skip to content
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

Fix more Sendable warnings and flaky test #281

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

FranzBusch
Copy link
Member

Motivation

We still had some Sendable warnings left under strict Concurrency checking.

Modification

This PR fixes a bunch of Sendable warnings but we still have some left in the validation tests. Additionally, I fixed a flaky test.

dependencies: ["_CAsyncSequenceValidationSupport", "AsyncAlgorithms"]),
dependencies: ["_CAsyncSequenceValidationSupport", "AsyncAlgorithms"],
swiftSettings: [
.enableExperimentalFeature("StrictConcurrency=complete"),
Copy link
Member

Choose a reason for hiding this comment

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

❤️ perfection!

@@ -0,0 +1,51 @@
// swift-tools-version: 5.6
Copy link
Member

Choose a reason for hiding this comment

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

should this be 5.7 here?

Copy link
Member Author

Choose a reason for hiding this comment

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

This can be 5.6 since we don’t use any 5.7 toolchain feature in here. The name of the file is the important part.

@@ -0,0 +1,51 @@
// swift-tools-version: 5.6
Copy link
Member

Choose a reason for hiding this comment

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

The @swift-5.6 suffix is canonical?

Copy link
Member Author

Choose a reason for hiding this comment

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

What do you mean with canonical? SPM used these suffixes to identify what manifest to pick for a given swift version

Copy link
Member

@phausler phausler Jul 27, 2023

Choose a reason for hiding this comment

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

ah, yea I did not realize that swiftpm uses those suffixes, seems reasonable then

# Motivation
We still had some `Sendable` warnings left under strict Concurrency checking.

# Modification
This PR fixes a bunch of `Sendable` warnings but we still have some left in the validation tests. Additionally, I fixed a flaky test.
@FranzBusch FranzBusch merged commit 7ac31f9 into apple:main Aug 1, 2023
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