You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(venv) xju@xjutv:~/mypy$ cat ~/todo/cut.py
from typing import TypeVar, Literal
reveal_type(Literal['fred']) # builtins.object ... should be type[Literal['fred']]
(venv) xju@xjutv:~/mypy$ mypy ~/todo/cut.py
/home/xju/todo/cut.py:2: note: Revealed type is "typing._SpecialForm"
Success: no issues found in 1 source file
... am fixing
The text was updated successfully, but these errors were encountered:
(venv) xju@xjutv:~/mypy$ mypy --version
mypy 1.12.0+dev.e67decb91ea5aacbb1e126463b02d78ded680a90.dirty (compiled: no)
(venv) xju@xjutv:~/mypy$ cat ~/todo/cut.py
from typing import TypeVar, Literal
reveal_type(Literal['fred']) # builtins.object ... should be type[Literal['fred']]
(venv) xju@xjutv:~/mypy$ mypy ~/todo/cut.py
/home/xju/todo/cut.py:2: note: Revealed type is "typing._SpecialForm"
Success: no issues found in 1 source file
... am fixing
The text was updated successfully, but these errors were encountered: