File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
tools/SourceKit/lib/SwiftLang Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -2523,8 +2523,11 @@ void SwiftLangSupport::findRelatedIdentifiersInFile(
25232523
25242524 // FIXME: Don't silently eat errors here.
25252525 void handlePrimaryAST (ASTUnitRef AstUnit) override {
2526+ using ResultType = RequestResult<ArrayRef<RelatedIdentInfo>>;
25262527#if !SWIFT_BUILD_SWIFT_SYNTAX
2527- Receiver (RequestResult<RelatedIdentsInfo>::fromError (" relatedidents is not supported because sourcekitd was built without swift-syntax" ));
2528+ Receiver (
2529+ ResultType::fromError (" relatedidents is not supported because "
2530+ " sourcekitd was built without swift-syntax" ));
25282531 return ;
25292532#else
25302533 auto &CompInst = AstUnit->getCompilerInstance ();
@@ -2597,7 +2600,7 @@ void SwiftLangSupport::findRelatedIdentifiersInFile(
25972600 }
25982601 };
25992602 Action ();
2600- Receiver (RequestResult<ArrayRef<RelatedIdentInfo>> ::fromResult (Ranges));
2603+ Receiver (ResultType ::fromResult (Ranges));
26012604#endif
26022605 }
26032606
You can’t perform that action at this time.
0 commit comments