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
Find lambdas are not checked correctly #810
Comments
Hi! It looks like you're facing a type-checking issue with Pyre when filtering tuples that might contain |
Pyre Bug
Bug description
Please enter a clear and concise description of what the bug is.
I use
filter
function to filter outNone
values in a second value of sequence of pairs (tuple
is used for the pair class).With
pyre-check 0.9.19
and Python 3.12.0 I have following error which is not correct as I filter out None values (value[1] is not None
as shown below)Reproduction steps
Enter steps to reproduce the behavior.
I created an empty virtualenv, created a file
test.py
in empty folder with contents as shown below and runpyre
Expected behavior
Give a clear and concise description of what you expected to happen.
Logs
Please include any relevant logs here:
Please run your reproduction steps followed by
pyre rage > pyre_rage.log
, and upload the file here:pyre_rage.log
Additional context
Add any other context about the problem here. (like dependencies in your venv, third party stub files being used, overall goals, etc.)
The text was updated successfully, but these errors were encountered: