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 ae0c181 commit 2e14de9Copy full SHA for 2e14de9
Sources/SourceKitLSP/Swift/SwiftLanguageService.swift
@@ -945,7 +945,7 @@ extension SwiftLanguageService {
945
if let command = req.swiftCommand(ofType: SemanticRefactorCommand.self) {
946
return try await semanticRefactoring(command)
947
} else if let command = req.swiftCommand(ofType: ExpandMacroCommand.self),
948
- let experimentalFeatures = self.sourceKitLSPServer?.options.experimentalFeatures,
+ let experimentalFeatures = await self.sourceKitLSPServer?.options.experimentalFeatures,
949
experimentalFeatures.contains(.showMacroExpansions)
950
{
951
return try await expandMacro(command)
0 commit comments