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.
1 parent f05ac4b commit ca477d2Copy full SHA for ca477d2
Sources/SourceKitLSP/Swift/SwiftLanguageServer.swift
@@ -1080,7 +1080,7 @@ extension SwiftLanguageServer {
1080
end: node.rightBrace.positionAfterSkippingLeadingTrivia.utf8Offset)
1081
}
1082
1083
- override func visit(_ node: SwitchStmtSyntax) -> SyntaxVisitorContinueKind {
+ override func visit(_ node: SwitchExprSyntax) -> SyntaxVisitorContinueKind {
1084
return self.addFoldingRange(
1085
start: node.cases.position.utf8Offset,
1086
0 commit comments