Add a method for conditional deferral and use it in the new analyzer #6725
Labels
priority-1-normal
refactoring
Changing mypy's internals
semantic-analyzer
Problems that happen during semantic analysis
topic-plugins
The plugin API and ideas for new plugins
This idea appeared in #6724. It will be useful for plugins and in general to have something like this in
SemanticAnalyzer
:Then it can be used like this:
Maybe we can also add it to the old analyzer as always returning
False
, then we can completely hide the old vs new analyzer details in plugin API.The text was updated successfully, but these errors were encountered: