Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
guess_type: if the type is optional, treat it like it's "not None" (#…
…3839) * guess_type: if the type is optional, treat it like it's "not None" When guessing the type for an Optional annotation, the Optional was already being stripped off, but this value was being ignored, except for error messages. So actually use the Optional-stripped value. * Strip Optional when casting Var .to
- Loading branch information