Skip to content

Commit a455428

Browse files
authored
Somehow missed this change...
1 parent d77d4bd commit a455428

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
@@ -1216,7 +1216,7 @@ def unify_generic_callable(type: CallableType, target: CallableType,
12161216
for arg, target_arg in zip(type.formal_arguments(), target.formal_arguments()):
12171217
if arg.pos and target_arg.pos:
12181218
c = mypy.constraints.infer_constraints(
1219-
arg.type, target_arg.type, mypy.constraints.SUPERTYPE_OF)
1219+
arg.typ, target_arg.typ, mypy.constraints.SUPERTYPE_OF)
12201220
constraints.extend(c)
12211221
else:
12221222
# optimization, no more positional arguments

0 commit comments

Comments
 (0)