Skip to content

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

Merged
JukkaL merged 2 commits into
python:masterfrom
ilinum:undefined/classbody
Dec 28, 2022
Merged

JukkaL merged 2 commits into
python:masterfrom
ilinum:undefined/classbody

Conversation

@ilinum

@ilinum ilinum commented Dec 27, 2022

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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