We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently we don't really fully handle instances of types correctly. One example of this is:
def produce() -> type: @final class C: pass return C C = produce() reveal_type(C)
The inferred type of "C" becomes "Type[type]", when it really should be "Type[object]", "Type[typing.Any]" or "Type[dynamic]".
There's other places that tie into this like can_assign_from might be better taking a Value vs. a class.
Value
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently we don't really fully handle instances of types correctly. One example of this is:
The inferred type of "C" becomes "Type[type]", when it really should be "Type[object]", "Type[typing.Any]" or "Type[dynamic]".
There's other places that tie into this like can_assign_from might be better taking a
Value
vs. a class.The text was updated successfully, but these errors were encountered: