-
-
Notifications
You must be signed in to change notification settings - Fork 3k
NamedTuple subclass with default arguments doesn't type check #2683
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
Comments
I will see if this can be changed. At first glance it seems to be nontrivial. (Personally I would prefer defining |
@elazarg still fails in the same way |
Perhaps we can improve the lookup in checkmember,py#L443 - look up for |
(Raising priority to high since this affects some important internal code) |
This now works correctly on master. |
Uh oh!
There was an error while loading. Please reload this page.
but this gets:
spec.py: note: In function "foo":
spec.py:18: error: Too few arguments for "Spec"
The text was updated successfully, but these errors were encountered: