Dict comprehensions fail in NamedTuple #8376
Labels
bug
mypy got something wrong
false-positive
mypy gave an error on correct code
priority-1-normal
semantic-analyzer
Problems that happen during semantic analysis
topic-named-tuple
Fails mypy with error:
Oddly, removing the
out
function makes type checking work again:Playground URL: https://mypy-play.net/?mypy=latest&python=3.8&gist=aa715bc0f6d14152487d753f3fa64885
The text was updated successfully, but these errors were encountered: