Commit 2862db1
committed
[concurrency] Use nonisolated(unsafe) to quiet an error in runAsync in the tests.
Specifically, we are already using XCTest expectations to make sure we are waiting
long enough. So it is appropriate to put nonisolated(unsafe) since we are
synchronizing the code in a way that swift concurrency does not understand.
This came up as part of fixing rdar://164042741.1 parent 95f2fc6 commit 2862db1
File tree
1 file changed
+1
-1
lines changed- Tests/SwiftSourceKitPluginTests
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2172 | 2172 | | |
2173 | 2173 | | |
2174 | 2174 | | |
2175 | | - | |
| 2175 | + | |
2176 | 2176 | | |
2177 | 2177 | | |
2178 | 2178 | | |
| |||
0 commit comments