| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Currently when we encounter #5423 (when someting is incorrectly inferred as None), we generate code that casts a variable to None incorrectly since we are confused about the real type. Now produce an error message saying to add an annotation when we detect it. Fix up the places in mypy this caused errors.
There was a problem hiding this comment.
LGTM. Also thanks for the clean-up!
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Currently when we encounter #5423 (when someting is incorrectly
inferred as None), we generate code that casts a variable to None
incorrectly since we are confused about the real type.
Now produce an error message saying to add an annotation when we
detect it.
Fix up the places in mypy this caused errors.