Skip to content

Commit

Permalink
DO NOT MERGE: Canary: Introduce sendability warning
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjbeaumont committed Sep 18, 2023
1 parent fca413f commit c23f760
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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] {
Expand Down

0 comments on commit c23f760

Please sign in to comment.