Describe the bug
Following sample code is causing Pyright to crash. Although the code is not optimized, I think it should still be valid, and a crash is not expected.
The int in last line could be replaced with any overloaded function, and the crash would still occur.
Describe the bug Following sample code is causing Pyright to crash. Although the code is not optimized, I think it should still be valid, and a crash is not expected.
The
int
in last line could be replaced with any overloaded function, and the crash would still occur.Code or Screenshots
VS Code extension or command-line Found with latest Pylance(Pyright 1.1.375) and verified that the issue still exists with Pyright 1.1.377.