False negative on insufficient arguments with *args: *tuple[?]
since 1.1.382
#9183
Labels
addressed in next version
Issue is fixed and will appear in next published version
bug
Something isn't working
regression
Describe the bug
When a function has variadic arguments with type of unpacking a tuple, calling it with insufficient argument(s) incorrectly passes type checking.
It used to work with Pyright 1.1.381.
Code or Screenshots
VS Code extension or command-line
Pyright 1.1.382 & 1.1.383
The text was updated successfully, but these errors were encountered: