Describe the bug
Pyright calculates incorrect values when performing bitwise inversions of ints outside of the signed 32-bit range.
Code or Screenshots
reveal_type(~2147483648) # Type of "~2147483648" is "Literal[2147483647]"
VS Code extension or command-line
Command-line version 1.1.404