Skip to content

Commit a66e0ba

Browse files
committed
I just want to see the scope of the fallout
1 parent 2360552 commit a66e0ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mypy/semanal_typeargs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def visit_tuple_type(self, t: TupleType) -> None:
122122

123123
def visit_union_type(self, t: UnionType) -> None:
124124
super().visit_union_type(t)
125-
t.items = flatten_nested_unions(t.items)
125+
t.items = flatten_nested_unions(t.items, handle_recursive=False)
126126

127127
def visit_callable_type(self, t: CallableType) -> None:
128128
super().visit_callable_type(t)

0 commit comments

Comments
 (0)