When using list comprehension in a method, variables assigned inside the comprehension is listed twice in the symbol list / outline view. Same happens when isinstance method is used inside a method.
The only difference in those two classes are that one of them declares an explicit None return annotation. Environment Mypy version used: 0.950 and 0.960 Mypy command-line flags: None Mypy ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results