Pyright hangs on some recursive aliases #9497
Labels
addressed in next version
Issue is fixed and will appear in next published version
bug
Something isn't working
Describe the bug
Pyright hangs in certain cases involving recursive type aliases.
Code or Screenshots
Here's my pyrightconfig.json:
Changing this to pythonVersion 3.12 and modifying the source accordingly fixes the problem:
With Python 3.11, using the
: TypeAlias
annotation does not fix the problem.VS Code extension or command-line
This issue also occurs in pyright 1.1.385.
The text was updated successfully, but these errors were encountered: