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 223a4a9 commit 9cb32f2Copy full SHA for 9cb32f2
Sources/SourceKitLSP/Swift/SwiftLanguageServer.swift
@@ -1083,7 +1083,7 @@ extension SwiftLanguageServer {
1083
end: node.rightBrace.positionAfterSkippingLeadingTrivia.utf8Offset)
1084
}
1085
1086
- override func visit(_ node: SwitchStmtSyntax) -> SyntaxVisitorContinueKind {
+ override func visit(_ node: SwitchExprSyntax) -> SyntaxVisitorContinueKind {
1087
return self.addFoldingRange(
1088
start: node.cases.position.utf8Offset,
1089
0 commit comments