Crash when using Optional[TypedDictType] #7149
Labels
crash
priority-0-high
topic-plugins
The plugin API and ideas for new plugins
topic-typed-dict
topic-union-types
Mypy crashes when type checking this code:
Here's the traceback:
The plugin hook gets the union type as the argument, even though it should probably only get the TypedDict type. The bug was introduced in #6560.
cc @ilevkivskyi
The text was updated successfully, but these errors were encountered: