Skip to content

Incremental crash caused by TypedDict deserialization #3272

Closed
@JukkaL

Description

@JukkaL

When type checking t.py twice using -i, the second run crashes:

# t.py
from b import A
y: A
reveal_type(y)
# b.py
from mypy_extensions import TypedDict
A = TypedDict('A', {'x': int, 'y': str})

I already have a fix in a local branch and I will send a PR soon.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions