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 749d4b0 commit d441798Copy full SHA for d441798
lib/Frontend/Frontend.cpp
@@ -190,9 +190,12 @@ bool CompilerInstance::setUpASTContextIfNeeded() {
190
registerTypeCheckerRequestFunctions(Context->evaluator);
191
192
// Migrator, indexing and typo correction need some IDE requests.
193
+ // The integrated REPL needs IDE requests for completion.
194
if (Invocation.getMigratorOptions().shouldRunMigrator() ||
195
!Invocation.getFrontendOptions().IndexStorePath.empty() ||
- Invocation.getLangOptions().TypoCorrectionLimit) {
196
+ Invocation.getLangOptions().TypoCorrectionLimit ||
197
+ Invocation.getFrontendOptions().RequestedAction ==
198
+ FrontendOptions::ActionType::REPL) {
199
registerIDERequestFunctions(Context->evaluator);
200
}
201
if (setUpModuleLoaders())
0 commit comments