Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[undefined vars] do not double report errors in class defs #14350

Merged
merged 2 commits into from
Dec 28, 2022

Conversation

ilinum
Copy link
Collaborator

@ilinum ilinum commented Dec 27, 2022

These errors are already reported by the (new) semantic analyzer.

I've discovered this while updating unit tests for new semanal in #14166.

Tests are included.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@JukkaL JukkaL merged commit 20e9733 into python:master Dec 28, 2022
@ilinum ilinum deleted the undefined/classbody branch January 23, 2023 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants