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 6b728e5 + 9cb32f2 commit 3c31a0eCopy full SHA for 3c31a0e
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