class Foo:
def foo(self=1): ...
this is almost certainly a mistake, so it should be reported as an error
maybe related: #3666, but i think this should always be an error, regardless of whether the default value is the correct type
basedpyright has a rule for this
this is almost certainly a mistake, so it should be reported as an error
maybe related: #3666, but i think this should always be an error, regardless of whether the default value is the correct type
basedpyright has a rule for this