-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
priority-1-normalrefactoringChanging mypy's internalsChanging mypy's internalssemantic-analyzerProblems that happen during semantic analysisProblems that happen during semantic analysis
Description
Second pass of semantic analysis has 6 lookup functions:
lookup
lookup_qualified
lookup_fully_qualified
lookup_fully_qualified_or_none
lookup_type_node
plus 3 related helpers:
builtin_type
named_type
named_type_or_none
I think 9 lookup functions is too much and can cause confusions (this happened to me several times). I think we can leave only 3 lookup functions plus 2 helpers.
elazarg, elliott-beach and Michael0x2a
Metadata
Metadata
Assignees
Labels
priority-1-normalrefactoringChanging mypy's internalsChanging mypy's internalssemantic-analyzerProblems that happen during semantic analysisProblems that happen during semantic analysis