You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#3713
The idea is just to not show an error when accessing in the class body an attribute defined on ``self`` (mypy does not distinguishes them anyway). As well, the correct node is returned on lookup, previously this resulted in some spurious ``Any`` types.
(In addition I enable two previously skipped test, just noticed them when added tests for this PR.)
Fixes#3713
The idea is just to not show an error when accessing in the class body an attribute defined on ``self`` (mypy does not distinguishes them anyway). As well, the correct node is returned on lookup, previously this resulted in some spurious ``Any`` types.
(In addition I enable two previously skipped test, just noticed them when added tests for this PR.)
Example:
This has no errors in v0.520 but has an error at the indicated line at f127e2c, i.e. it is caused by #3700.
The text was updated successfully, but these errors were encountered: