Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion mypy/checkexpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -2503,7 +2503,8 @@ def check_overload_call(
callable_name=callable_name,
object_type=object_type,
)
if union_interrupted:
# Do not show the extra error is the union math was forced.
Comment thread
ilevkivskyi marked this conversation as resolved.
Outdated
if union_interrupted and not none_type_var_overlap:
self.chk.fail(message_registry.TOO_MANY_UNION_COMBINATIONS, context)
return result

Expand Down