We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f26e71 commit 6376499Copy full SHA for 6376499
mypy/meet.py
@@ -329,7 +329,7 @@ def is_overlapping_types(
329
330
if seen_types is None:
331
seen_types = set()
332
- if (left, right) in seen_types:
+ elif (left, right) in seen_types:
333
return True
334
if isinstance(left, TypeAliasType) and isinstance(right, TypeAliasType):
335
seen_types.add((left, right))
0 commit comments