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.
?? position
1 parent 6a791fd commit a71b428Copy full SHA for a71b428
Sources/SourceKitLSP/Swift/AdjustPositionToStartOfIdentifier.swift
@@ -56,7 +56,7 @@ extension SwiftLanguageService {
56
let visitor = StartOfIdentifierFinder(position: snapshot.absolutePosition(of: position))
57
visitor.walk(tree)
58
if let resolvedPosition = visitor.resolvedPosition {
59
- return snapshot.position(of: resolvedPosition) ?? position
+ return snapshot.position(of: resolvedPosition)
60
}
61
return position
62
0 commit comments