We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents da5da8e + 2862db1 commit 1dc4296Copy full SHA for 1dc4296
Tests/SwiftSourceKitPluginTests/SwiftSourceKitPluginTests.swift
@@ -2173,7 +2173,7 @@ private struct ExpectationNotFulfilledError: Error {}
2173
2174
/// Run the given async block and block the current function until `body` terminates.
2175
private func runAsync<T: Sendable>(_ body: @escaping @Sendable () async throws -> T) throws -> T {
2176
- var result: Result<T, Error>!
+ nonisolated(unsafe) var result: Result<T, Error>!
2177
let expectation = XCTestExpectation(description: "")
2178
Task {
2179
do {
0 commit comments