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
Behold:
def f(a: Optional[str], b: Optional[str]) -> bool: return a == b
We get this beautiful error with --strict-optional:
--strict-optional
error: Unsupported left operand type for == (some union)
The text was updated successfully, but these errors were encountered:
Maybe not obvious, but #1766 was a reduction of this issue.
Sorry, something went wrong.
No longer gives an error. I think this was fixed along with #1766 by #1836.
No branches or pull requests
Behold:
We get this beautiful error with
--strict-optional
:The text was updated successfully, but these errors were encountered: