We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9bddc7f + 2db4259 commit 05d9d63Copy full SHA for 05d9d63
Sources/SemanticIndex/CheckedIndex.swift
@@ -64,7 +64,7 @@ public final class CheckedIndex {
64
public func forEachSymbolOccurrence(
65
byUSR usr: String,
66
roles: SymbolRole,
67
- _ body: @escaping (SymbolOccurrence) -> Bool
+ _ body: (SymbolOccurrence) -> Bool
68
) -> Bool {
69
index.forEachSymbolOccurrence(byUSR: usr, roles: roles) { occurrence in
70
guard self.checker.isUpToDate(occurrence.location) else {
@@ -88,7 +88,7 @@ public final class CheckedIndex {
88
anchorEnd: Bool,
89
subsequence: Bool,
90
ignoreCase: Bool,
91
- body: @escaping (SymbolOccurrence) -> Bool
+ body: (SymbolOccurrence) -> Bool
92
93
index.forEachCanonicalSymbolOccurrence(
94
containing: pattern,
0 commit comments