Skip to content

Commit 0769825

Browse files
committed
Somehow missed this change...
1 parent 56d988f commit 0769825

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/subtypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1133,7 +1133,7 @@ def unify_generic_callable(type: CallableType, target: CallableType,
11331133
for arg, target_arg in zip(type.formal_arguments(), target.formal_arguments()):
11341134
if arg.pos and target_arg.pos:
11351135
c = mypy.constraints.infer_constraints(
1136-
arg.type, target_arg.type, mypy.constraints.SUPERTYPE_OF)
1136+
arg.typ, target_arg.typ, mypy.constraints.SUPERTYPE_OF)
11371137
constraints.extend(c)
11381138
else:
11391139
# optimization, no more positional arguments

0 commit comments

Comments
 (0)