Skip to content

Commit 5bdf0bf

Browse files
authored
Refactor: Move semantic analyzer pass 3 to a new module (#4099)
Just move things around, tweak inter-module references and add necessary imports. The third pass still directly accesses the second pass so there is more work to do.
1 parent 77ce5e2 commit 5bdf0bf

File tree

4 files changed

+572
-545
lines changed

4 files changed

+572
-545
lines changed

mypy/build.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
from typing import Deque
3232

3333
from mypy.nodes import (MypyFile, Node, ImportBase, Import, ImportFrom, ImportAll)
34-
from mypy.semanal import SemanticAnalyzerPass1, SemanticAnalyzerPass2, SemanticAnalyzerPass3
34+
from mypy.semanal import SemanticAnalyzerPass1, SemanticAnalyzerPass2
35+
from mypy.semanal_pass3 import SemanticAnalyzerPass3
3536
from mypy.checker import TypeChecker
3637
from mypy.indirection import TypeIndirectionVisitor
3738
from mypy.errors import Errors, CompileError, DecodeError, report_internal_error

0 commit comments

Comments
 (0)