Bug description
When NameChecker uses control flow to short-circuit before calling self._check_name(), it's usually to avoid emitting invalid-name. But we should still check disallowed-name.
|
foo = {}.keys() # Should raise disallowed-name once _check_name() is refactored. |