From d975e48ac44423325b190aef2b121dc0b6180a26 Mon Sep 17 00:00:00 2001 From: Si Beaumont Date: Mon, 18 Sep 2023 13:15:09 +0100 Subject: [PATCH] DO NOT MERGE: Canary: Introduce sendability warning --- Tests/OpenAPIGeneratorReferenceTests/CompatabilityTest.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/OpenAPIGeneratorReferenceTests/CompatabilityTest.swift b/Tests/OpenAPIGeneratorReferenceTests/CompatabilityTest.swift index eb6ce880a..5bafcc7ac 100644 --- a/Tests/OpenAPIGeneratorReferenceTests/CompatabilityTest.swift +++ b/Tests/OpenAPIGeneratorReferenceTests/CompatabilityTest.swift @@ -332,7 +332,7 @@ fileprivate extension CompatibilityTest { } /// Records diagnostics into an array for testing. -private final class RecordingDiagnosticCollector: DiagnosticCollector, @unchecked Sendable { +private final class RecordingDiagnosticCollector: DiagnosticCollector { private let lock = NSLock() private var _diagnostics: [Diagnostic] = [] var diagnostics: [Diagnostic] {