Skip to content

Commit 423713b

Browse files
authored
Merge pull request #31135 from CodaFi/replete-with-errors
Avoid unnecessary performTypeChecking() in REPL
2 parents f0df467 + 5fb9d73 commit 423713b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/IDE/REPLCodeCompletion.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@ doCodeCompletion(SourceFile &SF, StringRef EnteredCode, unsigned *BufferID,
238238
newSF.addImports(importsWithOptions);
239239
}
240240

241-
performTypeChecking(newSF);
241+
performImportResolution(newSF);
242+
bindExtensions(newSF);
242243

243244
performCodeCompletionSecondPass(newSF, *CompletionCallbacksFactory);
244245

0 commit comments

Comments
 (0)