-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Internal Error with Union Type Involving Invalid Type #4653
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A crash results when
mypy --strict
is run on the following.There is no crash when either of the following changes are made:
self._error
.float
and/orNone
from the union.mypy complains that
MC
is an invalid type. I assume that is related. The traceback:Version numbers:
The text was updated successfully, but these errors were encountered: