Skip to content

Commit 0af4d10

Browse files
authored
[6.2] Ensure NonisolatedNonsendingByDefault doesn't break exit tests (#1421)
- **Explanation**: Adjust the (non-ABI-affecting) signature of an underlying function used by the expansion of the `#expect(processExitsWith:)` macro so that when Approachable Concurrency is enabled, we pick the correct overload of said function. - **Scope**: Exit tests with Approachable Concurrency enabled. - **Issues**: #1375 - **Original PRs**: #1383, #1407 - **Risk**: Low - **Testing**: Existing CI jobs and manual verification. It is not possible at this time to write a unit test for this fix due to swiftlang/swift-package-manager#9293. - **Reviewers**: @grynspan @briancroom @jerryjrchen
1 parent 3fdabe5 commit 0af4d10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/Testing/ExitTests/ExitTest.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,7 @@ extension ExitTest {
381381
#if compiler(>=6.2)
382382
@safe
383383
#endif
384+
@_disfavoredOverload
384385
public static func __store<T>(
385386
_ id: (UInt64, UInt64, UInt64, UInt64),
386387
_ body: T,

0 commit comments

Comments
 (0)