Closed aspizu closed 1 week ago
Thanks for the bug report. It appears that the grammar rules for Python changed between 3.8 and 3.9. The above code generates a syntax error with 3.8 but is allowed in 3.9.
Could someone from the pylance team please transfer this issue to pyright?
This is addressed in pyright 1.1.371.