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 547ecb3 + c5e8a48 commit 7213dabCopy full SHA for 7213dab
tools/SourceKit/lib/SwiftLang/SwiftASTManager.cpp
@@ -848,6 +848,11 @@ ASTUnitRef ASTProducer::createASTUnit(
848
Error = "compilation setup failed";
849
return nullptr;
850
}
851
+ if (CompIns.loadStdlibIfNeeded()) {
852
+ LOG_WARN_FUNC("Loading the stdlib failed");
853
+ Error = "Loading the stdlib failed";
854
+ return nullptr;
855
+ }
856
registerIDERequestFunctions(CompIns.getASTContext().evaluator);
857
if (TracedOp.enabled()) {
858
TracedOp.start(TraceInfo);
0 commit comments