swiftlang / swift-corelibs-xctest

The XCTest Project, A Swift core library for providing unit test support
swift.org
Apache License 2.0
1.15k stars 267 forks source link

Suppress Swift 6 concurrency warning when using `XCTWaiter` and `XCTestExpectation`. #479

Closed grynspan closed 8 months ago

grynspan commented 8 months ago

This change annotates the fulfillment(of:) overloads so that they won't trigger Swift 6 diagnostics. This is a late-breaking change that has started to affect developers using strict concurrency checking with Swift 5.10.

Resolves rdar://124966292.

grynspan commented 8 months ago

@swift-ci please test

grynspan commented 8 months ago

@swift-ci please test

grynspan commented 8 months ago

@swift-ci please test Windows

najacque commented 8 months ago

Merging due to known infrastructure problem.