Skip to content

Commit 5029117

Browse files
Mark existential with any to unblock compiler bug fix (#899)
The compiler should enforce `any` syntax here. The fix depends on this change because the compiler pull request testing builds Swift-DocC. Co-authored-by: David Rönnqvist <[email protected]>
1 parent 664acfd commit 5029117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftDocC/Checker/Checker.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ public struct CompositeChecker: Checker {
270270
public var checkers: [AnyChecker]
271271

272272
/// Creates a checker that performs the combined work of the given checkers.
273-
public init(_ checkers: some Sequence<Checker>) {
273+
public init(_ checkers: some Sequence<any Checker>) {
274274
self.checkers = checkers.map { $0.any() }
275275
}
276276

0 commit comments

Comments
 (0)