We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb28ab7 commit 2653a6eCopy full SHA for 2653a6e
Sources/SwiftLexicalLookup/LookupResult.swift
@@ -36,12 +36,12 @@ import SwiftSyntax
36
return names
37
}
38
39
-
+
40
/// Returns result specific for the particular `scope` kind with provided `names`.
41
static func getResult(for scope: ScopeSyntax, withNames names: [LookupName]) -> LookupResult {
42
switch Syntax(scope).as(SyntaxEnum.self) {
43
case .sourceFile(let sourceFileSyntax):
44
- return .fromFileScope(sourceFileSyntax, withNames: names)
+ return .fromFileScope(sourceFileSyntax, withNames: names)
45
default:
46
return .fromScope(scope, withNames: names)
47
0 commit comments