-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[red-knot] Understand typing.Type
#14904
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
Conversation
|
|
This has one small problem: Inheriting from |
Fine to just TODO all that for now. We don't even understand that |
AlexWaygood
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
|
|
||
| class A: ... | ||
|
|
||
| def _(c: Type, d: Type[A], e: Type[A]): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does the e argument exist here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It wasn't there originally. Probably a small oversight.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I think I screwed that up when simplifying the mdtests a little :-)
|
Nice, thank you! |
Summary
Resolves #14891.
Test Plan
Markdown tests.