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 06abecd commit 16d4dcfCopy full SHA for 16d4dcf
1 file changed
mypy/subtypes.py
@@ -1610,7 +1610,7 @@ def are_parameters_compatible(
1610
isinstance(right_star_inner_type, Instance)
1611
and right_star_inner_type.type.fullname == "builtins.tuple"
1612
and len(right_star_inner_type.args) == 1
1613
- and isinstance(right_star_inner_type.args[0], AnyType)
+ and isinstance(get_proper_type(right_star_inner_type.args[0]), AnyType)
1614
)
1615
else:
1616
trivial_varargs = False
0 commit comments