-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Cannot access nested class #259
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
Labels
bug
mypy got something wrong
Comments
Actually, it's not obvious how this should work, as plausibly a subclass of This needs further analysis, so removed the 'priority' label. |
Closed
Another example of this bug: class Outer:
class Inner:
pass
Outer().Inner # E: Member "Inner" is not assignable |
Yes, both examples work correctly now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The type checker complains about the
self.B()
call in the program below:The text was updated successfully, but these errors were encountered: