basedpyright
basedpyright copied to clipboard
no error for unspecified param spec
Description
Code sample in basedpyright playground
class C1[T]: ...
print(C1()) # error
class C2[*Ts]: ...
print(C2()) # error
class C3[**P]: ...
print(C3()) # no error
looks like it's inferring the paramspec as ... which is the paramspec equivalent of Any:
reveal_type(C3()) # C3[...]