Skip to content

Commit 44a94e5

Browse files
authored
Merge pull request #2745 from ahoppen/multithreadingtest-sendable
Mark `MultithreadingTests` as `@unchecked Sendable` to work around rdar://130094927
2 parents d181e99 + 547df88 commit 44a94e5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Tests/SwiftSyntaxTest/MultithreadingTests.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ extension SyntaxProtocol {
2020
}
2121
}
2222

23-
class MultithreadingTests: XCTestCase {
24-
23+
// Marked as `@unchecked Sendable` to work around rdar://130094927, which complains about `MultithreadingTests` not conforming to
24+
// `Sendable`.
25+
class MultithreadingTests: XCTestCase, @unchecked Sendable {
2526
public func testPathological() {
2627
let tuple = TupleTypeSyntax(
2728
leftParen: .leftParenToken(),

0 commit comments

Comments
 (0)