Open
Description
Describe the Bug
See the sandbox, pyrefly is inferring a type as a literal when the if statement checks the exact opposite of that.
Note that removing the not
does nothing which suggests that the not is not being considered when specializing the type
Sandbox Link
(Only applicable for extension issues) IDE Information
No response
Metadata
Metadata
Assignees
Labels
No labels