Open
Description
Pyre Bug
Pyre does not reason about complex if
statements. This is used in e.g. aiohttp:
https://github.com/aio-libs/aiohttp/blob/master/aiohttp/client.py#L1034
(try commenting and uncommenting the various options to see the various results)
Expected behavior
All of the above if
statements should report a type error
Logs
See playground link
Metadata
Metadata
Assignees
Labels
No labels