Skip to content

Commit 4c797cc

Browse files
committed
Sema: Remove unnecessary call to performImportResolution()
Doing it here is unnecessary anyway, because we've already performed extension binding by this point.
1 parent 60ce308 commit 4c797cc

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/Sema/TypeChecker.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,10 +326,6 @@ TypeCheckSourceFileRequest::evaluate(Evaluator &eval, SourceFile *SF) const {
326326

327327
BufferIndirectlyCausingDiagnosticRAII cpr(*SF);
328328

329-
// Make sure that import resolution has been completed before doing any type
330-
// checking.
331-
performImportResolution(*SF);
332-
333329
// Could build scope maps here because the AST is stable now.
334330

335331
{

0 commit comments

Comments
 (0)