emacs-lsp / lsp-pyright

lsp-mode :heart: pyright
https://emacs-lsp.github.io/lsp-pyright
GNU General Public License v3.0
284 stars 24 forks source link

_T@abs error #76

Open Gaunt opened 2 years ago

Gaunt commented 2 years ago

sum(map(abs, [1,2,3])) produces following error message

Argument of type "list[int]" cannot be assigned to parameter "__iter1" of type "Iterable[_T1@init]" in function "init"