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 7b78230 commit 369a100Copy full SHA for 369a100
mypy/fixup.py
@@ -283,6 +283,8 @@ def visit_callable_type(self, ct: CallableType) -> None:
283
ct.ret_type.accept(self)
284
for v in ct.variables:
285
v.accept(self)
286
+ if ct.original_self_type is not None:
287
+ ct.original_self_type.accept(self)
288
if ct.type_guard is not None:
289
ct.type_guard.accept(self)
290
if ct.type_is is not None:
0 commit comments