Skip to content

Commit 2e14de9

Browse files
committed
Bug Fix
1 parent ae0c181 commit 2e14de9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SourceKitLSP/Swift/SwiftLanguageService.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ extension SwiftLanguageService {
945945
if let command = req.swiftCommand(ofType: SemanticRefactorCommand.self) {
946946
return try await semanticRefactoring(command)
947947
} else if let command = req.swiftCommand(ofType: ExpandMacroCommand.self),
948-
let experimentalFeatures = self.sourceKitLSPServer?.options.experimentalFeatures,
948+
let experimentalFeatures = await self.sourceKitLSPServer?.options.experimentalFeatures,
949949
experimentalFeatures.contains(.showMacroExpansions)
950950
{
951951
return try await expandMacro(command)

0 commit comments

Comments
 (0)