Skip to content

Commit 547df88

Browse files
committed
Mark MultithreadingTests as @unchecked Sendable to work around rdar://130094927
1 parent 70e3741 commit 547df88

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)