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 9beaaf5 commit 73e19e3Copy full SHA for 73e19e3
mypy/stubtest.py
@@ -858,7 +858,7 @@ def from_overloadedfuncdef(stub: nodes.OverloadedFuncDef) -> Signature[nodes.Arg
858
859
all_args: dict[str, list[tuple[nodes.Argument, int]]] = {}
860
for func in map(_resolve_funcitem_from_decorator, stub.items):
861
- assert func is not None
+ assert func is not None, "Failed to resolve decorated overload"
862
args = maybe_strip_cls(stub.name, func.arguments)
863
for index, arg in enumerate(args):
864
# For positional-only args, we allow overloads to have different names for the same
0 commit comments