Skip to content

Conversation

grynspan
Copy link
Contributor

@grynspan grynspan commented Sep 11, 2024

We have one @MainActor, async test on a non-sendable XCTestCase subclass. Not surprisingly, this doesn't work fantastically well. Move the test out of the class to fix the resulting compiler diagnostic.

Related to swiftlang/swift-package-manager#7960.

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

…ated test.

We have one `@MainActor`, `async` test on a non-sendable `XCTestCase` subclass.
Not surprisingly, this doesn't work fantastically well. Move the test out of the
class to fix the resulting compiler diagnostic.

Related to swiftlang/swift-package-manager#7960.
@grynspan grynspan added bug 🪲 Something isn't working concurrency 🔀 Swift concurrency/sendability issues labels Sep 11, 2024
@grynspan grynspan self-assigned this Sep 11, 2024
@grynspan
Copy link
Contributor Author

@swift-ci test

@grynspan grynspan merged commit 9548fa2 into main Sep 11, 2024
3 checks passed
@grynspan grynspan deleted the jgrynspan/silence-concurrency-warning branch September 11, 2024 20:11
@grynspan grynspan added this to the Swift 6.1 milestone Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working concurrency 🔀 Swift concurrency/sendability issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants