The inferred type for `x` is unexpected (especially when using `--strict-optional`): ```py from typing import TypeVar T = TypeVar('T') def f() -> T: pass x = f() reveal_type(x) # None ``` It would be better to require an annotation for `x`.