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
Describe the bug when writing [x for x in xs if isinstance(x, Y)], the type of x is not correctly cast to Yas one might expect.
[x for x in xs if isinstance(x, Y)]
x
Y
To Reproduce Testcases added in dd526c0
Expected behavior xshould have type Yin this expression
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
when writing
[x for x in xs if isinstance(x, Y)]
, the type ofx
is not correctly cast toY
as one might expect.To Reproduce
Testcases added in dd526c0
Expected behavior
x
should have typeY
in this expressionThe text was updated successfully, but these errors were encountered: